Text areas eat first newline when the text in the area starts with one or more 
newlines
---------------------------------------------------------------------------------------

                 Key: STS-254
                 URL: http://mc4j.org/jira/browse/STS-254
             Project: Stripes
          Issue Type: Bug
          Components: Tag Library
    Affects Versions: Release 1.4
            Reporter: Tim Fennell
         Assigned To: Tim Fennell
             Fix For: Release 1.4.1


I'm not entirely sure why this is happening, because Stripes is rendering back 
exactly the text that was input, and yet when you do the following in bugzooky:
  Log in and go to the add bug page
  Put '[newline][newline]FOO' into the long description page
  Hit save

The page re-renders, but the long description is one newline shorter than 
before!!

Perhaps the right thing to do is just add a newline to the start of the text 
(only if it starts with newlines?),  but I'd like to understand why this 
happens first.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to