jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21866] New: - wordWrap incorrect behavior with delimiter
Date Thu, 24 Jul 2003 20:49:34 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21866>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21866

wordWrap incorrect behavior with delimiter

           Summary: wordWrap incorrect behavior with delimiter
           Product: Taglibs
           Version: 1.0.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: String Taglib
        AssignedTo: taglibs-dev@jakarta.apache.org
        ReportedBy: kosulin@yahoo.com


if I use
<str:wordWrap width="15"
delimiter="&lt;BR&gt;">1234567890123456789012345</str:wordWrap>
I get the following output:
123456<BR>789012<BR>345678<BR>901234<BR>5 
It looks like it calculates the delimiter length (10 characters in this case)
and adds it to the length of the string to be split to compare to the width+1.
I guess, this is not an expected behavior. It should treat the delimiter out of
calculations and apply width to the string itself.

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Mime
View raw message