Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wholeText on a text node holds the text of logically adjacent text. That means a new line followed by cdata following by spaces and/or a new line will all be in the cdata wholeText. This change fixes our handling to use data rather than wholeText.
Also fixed the cdata regex tests.
|
|
The Traverser now simply walks through a document. The OutputRules convert
the nodes into output html. The rules is a configurable options. By default
OutputRules will generate html close to the html5 that was parsed. Alternate
rule implementation (e.g., minify rules, pretty spacing rules) can be set
as the default or on an individual case.
|
|
|
|
currently supported in the parser.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tests to work with the the new parser, and remoted the old Parser tests not that the old parser is gone.
|
|
|
|
|
|
It now uses the real library, and matches the DOMDocument interface.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
like it.
References to the html5 sections included.
Note, the pre tag was removed from being treated as raw text. It can often have
children (e.g., the code tag) and is specific for display time. Makes me wonder
why pre is it's own tag if it's for display. Why not just use styles?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The parser is actually really strict, and maybe we should back off on
enforcing some of the stricter rules.
|
|
|
|
|
|
|