Bug 36788

Summary: str:wordWrap generates incorrect html character entity sequence for a sequence of few special characters
Product: Taglibs Reporter: Vladyslav Kosulin <kosulin>
Component: String TaglibAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED WONTFIX    
Severity: major    
Priority: P1    
Version: 1.0.1   
Target Milestone: ---   
Hardware: Other   
OS: other   

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.