Age | Commit message (Collapse) | Author |
|
attributes with a value of 0.
|
|
|
|
|
|
|
|
|
|
|
|
and MathML output.
|
|
|
|
default option setup and have it still make sense.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
This now supports most of the tree building. It has limited support for
insertion modes, as well as some syntax correction.
|