TitlePreformatted text with html doesn't work if allowHTML = true
Date31-Jul-2006 10:21:26 EEST
Bug criticalityMediumBug
Browser versionfirefox
Bug statusClosedBug
PageProvider usedRCS
Servlet Containertomcat 4.1
Operating Systemsolaris
Java version1.5.0-07

In 2.2 it used to be possible to set allowHTML = true and still use

 } }}
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>

-- JanneJalkanen

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.
« This page (revision-13) was last changed on 13-Dec-2006 16:44 by