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

Arturo Bernal commented on JSPWIKI-492:
---------------------------------------

A pull request is open: https://github.com/apache/jspwiki/pull/573. 
TextUtil.cleanString keeps letters, digits and the characters of 
PUNCTUATION_CHARS_ALLOWED; the superscript digits are none of them, so 
MarkupParser.cleanLink removed them from the links to a page. The constant now 
also holds the superscript one, two and three, and the characters of 
LEGACY_CHARS_ALLOWED, used by wikifyLink, are not changed. Two new tests, in 
TextUtilTest and MarkupParserTest, fail on master (expected Metre followed by 
the superscript two, but was Metre) and pass with the change; TextUtilTest, 
MarkupParserTest, SearchManagerTest and JSPWikiMarkupParserTest pass on its 
branch.

Not covered: other characters, and the whole test suite was not run.

> Special characters in page titles
> ---------------------------------
>
>                 Key: JSPWIKI-492
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-492
>             Project: JSPWiki
>          Issue Type: Bug
>    Affects Versions: 2.8.1
>            Reporter: Bruno Peeters
>            Priority: Minor
>              Labels: pull-request-available
>
> Special characters such as é, è, à, ù, ... are currently allowed in page 
> titles.
> We have noticed however that ² and ³ are still not possible in page titles, 
> which could be handy for us. 



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to