Bug 36788 - str:wordWrap generates incorrect html character entity sequence for a sequence of few special characters
Summary: str:wordWrap generates incorrect html character entity sequence for a sequenc...
Status: RESOLVED WONTFIX
Alias: None
Product: Taglibs
Classification: Unclassified
Component: String Taglib (show other bugs)
Version: 1.0.1
Hardware: Other other
: P1 major (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-23 20:57 UTC by Vladyslav Kosulin
Modified: 2009-08-20 00:57 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladyslav Kosulin 2005-09-23 20:57:54 UTC
Here is a code fragment to illustrate the issue where item.name1 is assigned a
value of <a href="http://google.com">l</a>

&nbsp;<str:wordWrap width="45" delimiter="&nbsp;<BR>&nbsp;"><c:out
value="${item.name1}"/></str:wordWrap>&nbsp;

And here is the HTML output:

&nbsp;&lt;a                        
&nbsp;<BR>&nbsp;href=&#034;http://google.com&#&nbsp;<BR>&nbsp;034;&gt;l&lt;/a&gt;&nbsp;
Comment 1 Henri Yandell 2009-08-20 00:57:06 UTC
Closing as WONTFIX.

String Taglib is being deprecated and I don't expect the wordWrap tag to make it into the Extended Taglib which will house some of its functionality.