MCPcopy Index your code
hub / github.com/clips/pattern / strip_javascript

Function strip_javascript

pattern/web/__init__.py:797–798  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

795 return re.sub(p, "", string)
796
797def strip_javascript(html):
798 return strip_between("<script.*?>", "</script>", html)
799def strip_inline_css(html):
800 return strip_between("<style.*?>", "</style>", html)
801def strip_comments(html):

Callers 2

update.pyFile · 0.90
plaintextFunction · 0.85

Calls 1

strip_betweenFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…