This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]
TitlePreformatted text with html doesn't work if allowHTML = true
Date31-Jul-2006 10:21:26 EEST
Version2.4.15-beta
Submitter198.240.212.25
Bug criticalityMediumBug
Browser versionfirefox
Bug statusClosedBug
PageProvider usedRCS
Servlet Containertomcat 4.1
Operating Systemsolaris
URL
Java version1.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>

-- 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 particular version was published on 13-Aug-2006 22:28 by Janne Jalkanen.