in csp/utils.py [0:0]
def _unwrap_script(text: str) -> str:
"""Extract content defined between script tags"""
matches = re.search(_script_tag_contents_re, text)
if matches and len(matches.groups()):
return matches.group(1).strip()
return text