|Title|Preformatted text with html doesn't work if allowHTML = true
|Date|31-Jul-2006 10:21:26 EEST
|[Bug criticality]|MediumBug
|Browser version|firefox
|[Bug status]|ClosedBug
|[PageProvider] used|RCS
|Servlet Container|tomcat 4.1
|Operating System|solaris
|Java version|1.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 &lt; and &gt; 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