1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-12 09:17:37 +03:00
libxml2/result/HTML/issue318.html.sax
Nick Wellnhofer 2732b23466 Fix regression parsing public IDs literals in HTML
Fix regression introduced when reworking htmlParsePubidLiteral in
commit 93ce33c2.

Fixes #318.
2022-01-10 13:37:59 +01:00

23 lines
468 B
Plaintext

SAX.setDocumentLocator()
SAX.startDocument()
SAX.internalSubset(html, -//W3C//DTD HTML 4.01//EN, )
SAX.startElement(html)
SAX.characters(
, 1)
SAX.startElement(head)
SAX.startElement(meta, http-equiv='\"content-type\"', content='\"text/html;charset=utf-8\"')
SAX.endElement(meta)
SAX.endElement(head)
SAX.characters(
, 1)
SAX.startElement(body)
SAX.characters(
, 1)
SAX.endElement(body)
SAX.characters(
, 1)
SAX.endElement(html)
SAX.characters(
, 1)
SAX.endDocument()