Searched refs:maybe_xhtml (Results 1 – 11 of 11) sorted by relevance
/dports/www/py-html5-parser/html5-parser-0.4.10/test/ |
H A D | namespace.py | 18 def namespaces(self, parse_function=partial(parse, maybe_xhtml=True), tostring=tostring): argument 141 root = parse(markup, maybe_xhtml=True) 145 root = nsparse('<html xml:lang="fr" lang="es"><svg xml:lang="1">xxx', maybe_xhtml=True) 163 root = parse("""<p a:a="1" xmlns:a="a">""", maybe_xhtml=True) 168 xparse = partial(parse, maybe_xhtml=True) 183 root = parse(src, maybe_xhtml=True)
|
H A D | basic.py | 77 root = parse(html, maybe_xhtml=True) 80 root = parse(html, maybe_xhtml=True) 82 root = parse('<title/><title>t</title></title></title><link href="h">', maybe_xhtml=True)
|
H A D | malformed.py | 20 root = parse("<html><html />", maybe_xhtml=True)
|
/dports/www/py-html5-parser/html5-parser-0.4.10/src/ |
H A D | as-libxml.c | 27 bool maybe_xhtml, sanitize_names; member 104 if (UNLIKELY(pd->maybe_xhtml && strcmp(aname, "lang") == 0)) { in create_attributes() 125 if (UNLIKELY(pd->maybe_xhtml && strncmp(aname, "xml:lang", 8) == 0)) { in create_attributes() 136 if (pd->maybe_xhtml) { in create_attributes() 152 if (pd->maybe_xhtml) { in create_attributes() 170 if (UNLIKELY(pd->maybe_xhtml && attr_name == pd->lang_attribute)) { in create_attributes() 221 if (pd->maybe_xhtml) { in create_element() 371 parse_data.maybe_xhtml = opts->gumbo_opts.use_xhtml_rules; in convert_gumbo_tree_to_libxml_tree() 388 if (parse_data.maybe_xhtml) { in convert_gumbo_tree_to_libxml_tree()
|
/dports/www/py-html5-parser/html5-parser-0.4.10/src/html5_parser/ |
H A D | __init__.py | 128 maybe_xhtml=False, argument 213 namespace_elements=namespace_elements or maybe_xhtml, 215 maybe_xhtml=maybe_xhtml,
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/oeb/polish/ |
H A D | parsing.py | 29 …root = html5_parser.parse(raw, maybe_xhtml=not discard_namespaces, line_number_attr=linenumber_att…
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/mobi/reader/ |
H A D | mobi6.py | 208 …rse(self.processed_html, keep_doctype=False, namespace_elements=False, maybe_xhtml=False, sanitize… 218 … root = parse(self.processed_html, maybe_xhtml=False, keep_doctype=False, sanitize_names=True) 222 … root = parse(self.processed_html, maybe_xhtml=False, keep_doctype=False, sanitize_names=True) 227 … root = parse(self.processed_html, maybe_xhtml=False, keep_doctype=False, sanitize_names=True)
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/metadata/ |
H A D | toc.py | 32 root = parse(clean_xml_chars(data), maybe_xhtml=True, keep_doctype=False, sanitize_names=True)
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/oeb/ |
H A D | parse_utils.py | 99 data = parse(clean_xml_chars(data), maybe_xhtml=True, keep_doctype=False, sanitize_names=True)
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/gui2/ |
H A D | comments_editor.py | 735 root = parse(raw, maybe_xhtml=False, sanitize_names=True) 737 root = parse(clean_xml_chars(raw), maybe_xhtml=False, sanitize_names=True)
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/srv/ |
H A D | opds.py | 120 …root = parse(raw, keep_doctype=False, namespace_elements=False, maybe_xhtml=False, sanitize_names=…
|