Title | Preformatted text with html doesn't work if allowHTML = true |
Date | 31-Jul-2006 10:21:26 EEST |
Version | 2.4.15-beta |
Submitter | 198.240.212.25 |
Bug criticality | MediumBug |
Browser version | firefox |
Bug status | ClosedBug |
PageProvider used | RCS |
Servlet Container | tomcat 4.1 |
Operating System | solaris |
URL | |
Java version | 1.5.0-07 |
In 2.2 it used to be possible to set allowHTML = true and still use
{{{ <some-html-tag> } }}etc. to get preformatted html to be shown.
In 2.4, once allowHTML = true, the < and > characters are no longer written as < and > within three braces, thus it is no longer possible to use verbatim html/xml.
As a workaround, you can use <pre>...</pre>
As a workaround, the <pre> is no good because <h1>FOO</h1> is still interpreted. Use <xmp>...</xmp> instead.
This bug should be a CriticalBug because existing wikis are broken and the documentation (jspwiki.props) is very clear on this :
Text between { { { and } } } -options is not affected by this setting, so it's always safe to quote HTML code with those.
-- RealGagnon
Fixed in 2.4.35
Add new attachment
Only authorized users are allowed to upload new attachments.