incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harry Metske (JIRA)" <>
Subject [jira] Commented: (JSPWIKI-485) & in notes for page history
Date Tue, 03 Feb 2009 18:05:59 GMT


Harry Metske commented on JSPWIKI-485:

Can you explain a bit more, we use TextUtil.replaceEntities to replace suspicious characters

||Char ||Entity Code
|<|{noformat} &lt;{noformat} 
|>|{noformat} &gt;{noformat} 
|&|{noformat} &amp;{noformat} 

I tested this :
||Input ||Result
|{noformat}Nice&Easy  groterdan>  kleinerdan< {noformat} |{noformat} Nice&amp;Easy
groterdan&gt; kleinerdan&lt; {noformat} 

What is wrong here ?

> & in notes for page history
> ---------------------------
>                 Key: JSPWIKI-485
>                 URL:
>             Project: JSPWiki
>          Issue Type: Bug
>    Affects Versions: 2.8.1
>            Reporter: Bruno Peeters
>            Priority: Minor
> In the previous version of jspwiki we were using (2.2.33) & signs in page titles
were automatically converted to amp, which lead to unwanted page titles. We are pleased to
notice that & signs are now accepted in page titles.
> We have however noticed that & signs in notes (for the page history) continue to
be replaced by &amp. Other characters such as < > and quotes are also replaced.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message