tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45931] New: trimSpaces incorrectly modifies output
Date Wed, 01 Oct 2008 19:43:23 GMT
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: meetesh.karia@alumni.duke.edu


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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message