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

Function parse_html

3.6.4/py27/lxml/html/diff.py:540–551  ·  view source on GitHub ↗

Parses an HTML fragment, returning an lxml element. Note that the HTML will be wrapped in a tag that was not in the original document. If cleanup is true, make sure there's no or , and get rid of any and tags.

(html, cleanup=True)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

tokenizeFunction · 0.70
fixup_ins_del_tagsFunction · 0.70

Calls 2

fragment_fromstringFunction · 0.90
cleanup_htmlFunction · 0.70

Tested by

no test coverage detected