[ 
https://issues.apache.org/jira/browse/JSPWIKI-485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670037#action_12670037
 ] 

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: https://issues.apache.org/jira/browse/JSPWIKI-485
>             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.

Reply via email to