https://issues.apache.org/bugzilla/show_bug.cgi?id=45931

           Summary: trimSpaces incorrectly modifies output
           Product: Tomcat 6
           Version: 6.0.16
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=22665)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22665)
replace whitespace with single space

Enabling trimSpaces collapses all spaces to nothing which can end up removing
desired whitespace from the generated html.

A possible solution to this is to reduce whitespace to a single space rather
than removing it altogether.  The attached patch has this implementation.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to