Home
last modified time | relevance | path

Searched refs:discard_namespaces (Results 1 – 3 of 3) sorted by relevance

/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/oeb/polish/
H A Dparsing.py21 def parse_html5(raw, decoder=None, log=None, discard_namespaces=False, line_numbers=True, linenumbe… argument
29 …root = html5_parser.parse(raw, maybe_xhtml=not discard_namespaces, line_number_attr=linenumber_att…
30 if (discard_namespaces and root.tag != 'html') or (
31 not discard_namespaces and (root.tag != '{%s}%s' % (XHTML_NS, 'html') or root.prefix)):
96 …itle>a\n</title><p b=1 c=2 a=0>&nbsp;\n<b>b<svg ass="wipe" viewbox="0">', discard_namespaces=False)
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/oeb/polish/tests/
H A Dparsing.py187 root = parse('<html><p><svg><image /><b></svg>&nbsp;\n<b>xxx', discard_namespaces=True)
193 root = parse(src, discard_namespaces=ds)
200 root = parse(src, discard_namespaces=ds)
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/oeb/polish/check/
H A Dlinks.py393 root = parse_html5(raw_data, discard_namespaces=True, line_numbers=False, fix_newlines=False)