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

Gary D. Gregory commented on TEXT-172:
--------------------------------------

May you please provide a PR on GitHub for a failing unit test that matches your 
expectations? Unescaping 39 should give you a single quote.

> unescapeHtml3, unescapeHtml4 unable to decode character
> -------------------------------------------------------
>
>                 Key: TEXT-172
>                 URL: https://issues.apache.org/jira/browse/TEXT-172
>             Project: Commons Text
>          Issue Type: Bug
>    Affects Versions: 1.6, 1.8
>            Reporter: Govinda
>            Priority: Major
>
> I tried unescaping the below character, but seems it is not working.
>  
> {code:java}
> System.out.println(StringEscapeUtils.unescapeHtml3 ("'"));
> System.out.println(StringEscapeUtils.escapeHtml3 ("'"));
> System.out.println (StringEscapeUtils.escapeHtml3 
> (StringEscapeUtils.unescapeHtml3 ("'")));
>  
> System.out.println (StringEscapeUtils.escapeHtml4 
> (StringEscapeUtils.unescapeHtml4 ("'"))); 
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to