Menu

#15 Parse entry preview as XML

open
nobody
GUI (5)
5
2004-12-09
2004-12-09
Anonymous
No

The entry preview is correctly parsed as HTML.
For exemple <br /> is rendered as
[line break]
>

This is an absolutely correct HTML behaviour (even if
no browser do it correctly at all).
Since 1.0, templates are valid XHTML strict. As long as
they have a .html extension, it is correct to parse
them as HTML (and so showing the >).
But some people would like to post it as real XHTML
(i.e. : sending Mime type as application/xhtml+xml).
Then the preview should be parsed as XML, stopping on
errors and treating <br /> as a single line break.

Discussion


Log in to post a comment.

Monday.com Logo