def _unquote()

in csp/templatetags/csp.py [0:0]


def _unquote(s: str) -> str:
    """Helper func that strips single and double quotes from inside strings"""
    return s.replace('"', "").replace("'", "")