grails / grails-core

The Grails Web Application Framework
http://grails.org
Apache License 2.0
2.79k stars 949 forks source link

GRAILS-1893: <g:each> tag removes line breaks in gsp views #7077

Closed graemerocher closed 9 years ago

graemerocher commented 16 years ago

Original Reporter: saw303 Environment: winxp (sp2) Version: 1.0-RC1 Migrated From: http://jira.grails.org/browse/GRAILS-1893

I am trying to generate a ics calendar file using a gsp view. whenever I use the tag it somehow removes some line breaks and the output file can not be parsed by any calendar app such as outlook, mozilla sunbird...

It seems that tag removes line brakes in gsp views. please see view 'calendar.gsp' which contains a standalone example of the behavior. in 'calendar-actual-output.ics' the actual output of the view and in 'calendar-expected-output.ics' you will find the excpected output.

graemerocher commented 16 years ago

saw303 said: With 1.0.2 every thing works as expected.