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
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.