You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by bu...@apache.org on 2004/03/09 02:12:36 UTC

DO NOT REPLY [Bug 21866] - wordWrap incorrect behavior with delimiter

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.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://issues.apache.org/bugzilla/show_bug.cgi?id=21866

wordWrap incorrect behavior with delimiter

nagoya@felipeal.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|taglibs-                    |nagoya@felipeal.net
                   |dev@jakarta.apache.org      |



------- Additional Comments From nagoya@felipeal.net  2004-03-09 01:12 -------
Vladyslav,

This tag definition states that: this involves formatting a long String to fit
within a certain character width of page.

So, if we don't take the delimiter's length into account, the chunks won't fit
into that width.

On the other hand, it also says that: A delimiter may be passed in to put at the
end of each line.

In other words, the current definition is dubious about where the delimiter
should be include. So, I will fix this bug including a new attribute for the tag:

delimiterInside - flag indicating if the delimiter should be included in chunk
before length reaches width. Default is true.

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