[
https://issues.apache.org/struts/browse/WW-2038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Holmes resolved WW-2038.
------------------------------
Resolution: Fixed
The changes are now complete on the 2_0_X branch with SVN revision 558925.
All of the tests ran successfully for me. This should fix the spurious newline
characters in the simple templates.
> Extra carriage returns in simple theme templates
> ------------------------------------------------
>
> Key: WW-2038
> URL: https://issues.apache.org/struts/browse/WW-2038
> Project: Struts 2
> Issue Type: Bug
> Components: Views
> Affects Versions: 2.0.8
> Reporter: Marc-André Thibodeau
> Assignee: James Holmes
> Fix For: 2.0.10, 2.1.0
>
>
> Extra end-of-line characters are present at the end of most freemarker
> templates in the simple struts 2 theme. This may cause tight table layouts
> to break on IE when for example a <s:textfield> tag is used inside a <td>
> element since the extra end-of-line character inserted prevents from having
> the </td> directly following the <input /> element. In such cases, IE is
> known for adding extra space, possibly messing layout. The simple theme's
> purpose being to add absolutely nothing more than the associated html
> elements themselves, then this a bug.
> The solution would simply be to remove the trailing end-of-line character at
> the end of freemarker templates in simple theme.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.