aboutsummaryrefslogtreecommitdiffstats
path: root/result/HTML/pre.html
Commit message (Collapse)AuthorAgeFilesLines
* Keep non-significant blanks node in HTML parserDaniel Veillard2012-09-071-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For https://bugzilla.gnome.org/show_bug.cgi?id=681822 Regardless if the option HTML_PARSE_NOBLANKS is set or not, blank nodes are removed from a HTML document, for example: <html> <head> <title>This is a test.</title> </head> <body> <p>This is a test.</p> </body> </html> is read as: <html><head><title>This is a test.</title></head><body> <p>This is a test.</p> </body></html> This changes the default behaviour but the old behaviour is available as expected when using the parser flag HTML_PARSE_NOBLANKS Based on original patch from Igor Ignatyuk <igor_ignatiouk@hotmail.com> * HTMLparser.c: change various places in the parser where ignorable_space SAX callback was called without checking for the parser flag preference * xmllint.c: make sure we use the new flag even for HTML parsing * result/HTML/*: this modifies the output of a number of tests
* Applied the last patch from Gary Coady for #304637 changing the behaviourDaniel Veillard2005-09-011-1/+3
| | | | | | | * HTMLparser.c: Applied the last patch from Gary Coady for #304637 changing the behaviour when text nodes are found in body * result/HTML/*: this changes the output of some tests Daniel
* removing the SAXresults tree, keeping result in the same tree, addedDaniel Veillard2003-09-031-1/+1
| | | | | | | * Makefile.am results/*.sax SAXResult/*: removing the SAXresults tree, keeping result in the same tree, added SAXtests to the default "make tests" Daniel
* - HTMLtree.c: when in a pre element no formatting space shouldDaniel Veillard2001-06-071-0/+2
be added. - test/HTML/pre.html result/HTML/pre.html*: added a regression test Daniel