Closed zwigby closed 10 years ago
Hi,
Currently all HTML code in text should be converted to html entities, including pre tags. This is a recent change, starting at version 1.0.18.
If you want to change the behavior, you can do it by providing an html serializer to the toHtml method.
This is more of a question on functionality. Should preformatted text automatically convert html entities to code equivalents?
Basically something like? http://css-tricks.com/snippets/javascript/htmlentities-for-javascript/