MCPcopy Create free account
hub / github.com/JFox/aws-lambda-lxml / kill_conditional_comments

Method kill_conditional_comments

3.6.4/py27/lxml/html/clean.py:455–464  ·  view source on GitHub ↗

IE conditional comments basically embed HTML that the parser doesn't normally see. We can't allow anything like that, so we'll kill any comments that could be conditional.

(self, doc)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__call__Method · 0.95

Calls 1

_kill_elementsMethod · 0.95

Tested by

no test coverage detected