Third-party Python package module — html5lib. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.filters.whitespace.collapse_spaces()Neutralfilters.whitespace.collapse_spaces(text)
filters.whitespace.collapse_spaces function.
.getTreeBuilder()NeutralgetTreeBuilder(treeType, implementation, **kwargs)
getTreeBuilder function.
.getTreeWalker()NeutralgetTreeWalker(treeType, implementation, **kwargs)
getTreeWalker function.
.html5parser.adjust_attributes()Neutralhtml5parser.adjust_attributes(token, replacements)
html5parser.adjust_attributes function.
.html5parser.getPhases()Neutralhtml5parser.getPhases(debug)
html5parser.getPhases function.
.html5parser.impliedTagToken()Neutralhtml5parser.impliedTagToken(name, type, attributes, selfClosing)
html5parser.impliedTagToken function.
.html5parser.method_decorator_metaclass()Neutralhtml5parser.method_decorator_metaclass(function)
html5parser.method_decorator_metaclass function.
.html5parser.parse()Neutralhtml5parser.parse(doc, treebuilder, namespaceHTMLElements, **kwargs)
html5parser.parse function.
.html5parser.parseFragment()Neutralhtml5parser.parseFragment(doc, container, treebuilder, namespaceHTMLElements, **kwargs)
html5parser.parseFragment function.
| FQN | Field | |
|---|---|---|
| html5lib | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
import html5lib