Summary: | wordWrap incorrect behavior with delimiter | ||
---|---|---|---|
Product: | Taglibs | Reporter: | Vladyslav Kosulin <kosulin> |
Component: | String Taglib | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | critical | ||
Priority: | P3 | ||
Version: | 1.0.1 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All |
Description
Vladyslav Kosulin
2003-07-24 20:49:33 UTC
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. Fixed (and new version available through nightly build) |