You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Robert Spielmann (JIRA)" <ji...@apache.org> on 2007/04/23 18:08:42 UTC

[jira] Created: (WW-1893) Rendered HTML contains line breaks inside tags

Rendered HTML contains line breaks inside tags
----------------------------------------------

                 Key: WW-1893
                 URL: https://issues.apache.org/struts/browse/WW-1893
             Project: Struts 2
          Issue Type: Improvement
          Components: Misc
    Affects Versions: 2.0.6
         Environment: Windows Vista Business, JDK 1.5, JBoss 4.0.4
            Reporter: Robert Spielmann
            Priority: Minor


Struts2 seems to be rendering linebreaks into tags, like:

<td
><input type="text" name="partner.login" value="testaffe" id="igMitgliedAnlegen_partner_login"/>
</td>

Which does not seem very sensible.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WW-1893) Rendered HTML contains line breaks inside tags

Posted by "Robert Spielmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Spielmann updated WW-1893:
---------------------------------

    Attachment: screenshot-1-broken-a-tag.jpg

> Rendered HTML contains line breaks inside tags
> ----------------------------------------------
>
>                 Key: WW-1893
>                 URL: https://issues.apache.org/struts/browse/WW-1893
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Misc
>    Affects Versions: 2.0.6
>         Environment: Windows Vista Business, JDK 1.5, JBoss 4.0.4
>            Reporter: Robert Spielmann
>            Priority: Minor
>         Attachments: screenshot-1-broken-a-tag.jpg
>
>
> Struts2 seems to be rendering linebreaks into tags, like:
> <td
> ><input type="text" name="partner.login" value="testaffe" id="igMitgliedAnlegen_partner_login"/>
> </td>
> Which does not seem very sensible.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WW-1893) Rendered HTML contains line breaks inside tags

Posted by "Robert Spielmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Spielmann updated WW-1893:
---------------------------------

      Priority: Major  (was: Minor)
    Issue Type: Bug  (was: Improvement)

> Rendered HTML contains line breaks inside tags
> ----------------------------------------------
>
>                 Key: WW-1893
>                 URL: https://issues.apache.org/struts/browse/WW-1893
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Misc
>    Affects Versions: 2.0.6
>         Environment: Windows Vista Business, JDK 1.5, JBoss 4.0.4
>            Reporter: Robert Spielmann
>         Attachments: screenshot-1-broken-a-tag.jpg
>
>
> Struts2 seems to be rendering linebreaks into tags, like:
> <td
> ><input type="text" name="partner.login" value="testaffe" id="igMitgliedAnlegen_partner_login"/>
> </td>
> Which does not seem very sensible.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WW-1893) Rendered HTML contains line breaks inside tags

Posted by "Don Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Don Brown updated WW-1893:
--------------------------

         Priority: Minor  (was: Major)
    Fix Version/s: Future
       Issue Type: Improvement  (was: Bug)

If someone wants to clean this up in the templates, that'd be great, but I wouldn't hold up a release over it, since it doesn't affect performance or functionality.

> Rendered HTML contains line breaks inside tags
> ----------------------------------------------
>
>                 Key: WW-1893
>                 URL: https://issues.apache.org/struts/browse/WW-1893
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Misc
>    Affects Versions: 2.0.6
>         Environment: Windows Vista Business, JDK 1.5, JBoss 4.0.4
>            Reporter: Robert Spielmann
>            Priority: Minor
>             Fix For: Future
>
>         Attachments: screenshot-1-broken-a-tag.jpg
>
>
> Struts2 seems to be rendering linebreaks into tags, like:
> <td
> ><input type="text" name="partner.login" value="testaffe" id="igMitgliedAnlegen_partner_login"/>
> </td>
> Which does not seem very sensible.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WW-1893) Rendered HTML contains line breaks inside tags

Posted by "Anonymous (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]


    Resolution: Incomplete  (was: Fixed)
        Status: Resolved  (was: Closed)

> Rendered HTML contains line breaks inside tags
> ----------------------------------------------
>
>                 Key: WW-1893
>                 URL: https://issues.apache.org/struts/browse/WW-1893
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Other
>    Affects Versions: 2.0.6
>         Environment: Windows Vista Business, JDK 1.5, JBoss 4.0.4
>            Reporter: Robert Spielmann
>            Priority: Minor
>             Fix For: 2.0.8
>
>         Attachments: screenshot-1-broken-a-tag.jpg
>
>
> Struts2 seems to be rendering linebreaks into tags, like:
> <td
> ><input type="text" name="partner.login" value="testaffe" id="igMitgliedAnlegen_partner_login"/>
> </td>
> Which does not seem very sensible.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (WW-1893) Rendered HTML contains line breaks inside tags

Posted by "James Holmes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Holmes closed WW-1893.
----------------------------

       Resolution: Fixed
    Fix Version/s:     (was: Future)
                   2.0.8

As best I can tell, most if not all of the spurious newlines in template output have been resolved as of Struts 2.0.8.

See here for the latest version of expected output from one of the tests for the <s:textfield> tag:

http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/core/src/test/resources/org/apache/struts2/views/jsp/ui/Textfield-1.txt?revision=506174&view=markup

The spurious newlines seem to be removed in all of the test output files I looked through. I'm going to close this ticket as fixed. If you know of a specific tag or use of a tag that is still generating spurious newlines, please re-open this ticket with detailed information (e.g., tag, usage example of tag, etc.)

> Rendered HTML contains line breaks inside tags
> ----------------------------------------------
>
>                 Key: WW-1893
>                 URL: https://issues.apache.org/struts/browse/WW-1893
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Misc
>    Affects Versions: 2.0.6
>         Environment: Windows Vista Business, JDK 1.5, JBoss 4.0.4
>            Reporter: Robert Spielmann
>            Priority: Minor
>             Fix For: 2.0.8
>
>         Attachments: screenshot-1-broken-a-tag.jpg
>
>
> Struts2 seems to be rendering linebreaks into tags, like:
> <td
> ><input type="text" name="partner.login" value="testaffe" id="igMitgliedAnlegen_partner_login"/>
> </td>
> Which does not seem very sensible.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WW-1893) Rendered HTML contains line breaks inside tags

Posted by "Robert Spielmann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40906 ] 

Robert Spielmann commented on WW-1893:
--------------------------------------

And the same with <s:a>, see screenshot.

> Rendered HTML contains line breaks inside tags
> ----------------------------------------------
>
>                 Key: WW-1893
>                 URL: https://issues.apache.org/struts/browse/WW-1893
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Misc
>    Affects Versions: 2.0.6
>         Environment: Windows Vista Business, JDK 1.5, JBoss 4.0.4
>            Reporter: Robert Spielmann
>            Priority: Minor
>
> Struts2 seems to be rendering linebreaks into tags, like:
> <td
> ><input type="text" name="partner.login" value="testaffe" id="igMitgliedAnlegen_partner_login"/>
> </td>
> Which does not seem very sensible.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.