1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-06 20:58:17 +03:00
libxml2/result/HTML/pre.html.sax
Daniel Veillard f0c5376a03 - HTMLtree.c: when in a pre element no formatting space should
be added.
- test/HTML/pre.html result/HTML/pre.html*: added a regression test
Daniel
2001-06-07 16:07:07 +00:00

24 lines
448 B
Plaintext

SAX.setDocumentLocator()
SAX.startDocument()
SAX.startElement(html)
SAX.ignorableWhitespace(
, 1)
SAX.startElement(body)
SAX.ignorableWhitespace(
, 1)
SAX.startElement(pre)
SAX.startElement(a, href='toto')
SAX.endElement(a)
SAX.startElement(img, src='titi')
SAX.endElement(img)
SAX.endElement(pre)
SAX.ignorableWhitespace(
, 1)
SAX.endElement(body)
SAX.ignorableWhitespace(
, 1)
SAX.endElement(html)
SAX.ignorableWhitespace(
, 1)
SAX.endDocument()