Closed hlship closed 15 years ago
Actually, decided to move the filtering logic to the text-node function. Add a raw function as well, that does no filtering.
Add filtering of XML and non-printable entities.
Closed by e0cb01eb751c752f5aa291c1ad1bd4a5aab41d15.
Text nodes that contains XML entities (<, >, &, etc.) should be filtered to expand those characters to the corresponding entities (&tl;, >, &).
Further, where possible, this conversion should occur statically (at view construction time), necessating an additional DOM node type, :raw-text.