You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/09/28 05:29:00 UTC

[jira] [Work logged] (TEXT-172) unescapeHtml3, unescapeHtml4 unable to decode character

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

ASF GitHub Bot logged work on TEXT-172:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 28/Sep/19 05:28
            Start Date: 28/Sep/19 05:28
    Worklog Time Spent: 10m 
      Work Description: govi20 commented on pull request #122: TEXT-172: Failing test case to escape apastrophe
URL: https://github.com/apache/commons-text/pull/122
 
 
   Failing test case for the JIRA TEXT-172
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 319952)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I tried unescaping the below character, but seems it is not working.
>  
> {code:java}
> System.out.println(StringEscapeUtils.unescapeHtml3 ("&#39;"));
> System.out.println(StringEscapeUtils.escapeHtml3 ("&#39;"));
> System.out.println (StringEscapeUtils.escapeHtml3 (StringEscapeUtils.unescapeHtml3 ("&#39;")));
>  
> System.out.println (StringEscapeUtils.escapeHtml4 (StringEscapeUtils.unescapeHtml4 ("&#39;"))); 
> {code}



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