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

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

                Author: ASF GitHub Bot
            Created on: 28/Sep/19 06:36
            Start Date: 28/Sep/19 06:36
    Worklog Time Spent: 10m 
      Work Description: Stzx commented on pull request #123: [TEXT-172] Fix 
unable to encode entity number
URL: https://github.com/apache/commons-text/pull/123
 
 
   Test PR: #122 
 
----------------------------------------------------------------
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:
[email protected]


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

    Worklog Id:     (was: 319970)
    Time Spent: 1h 40m  (was: 1.5h)

> escapeHtml3, escapeHtml4 unable to encode apostrophe 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: 1h 40m
>  Remaining Estimate: 0h
>
> 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