Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-1825

Anchor tag inserts newline at end of tag

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.6
    • 2.0.7, 2.1.0
    • Plugin - Tags
    • None
    • Any

    • Patch

    Description

      See the showcase demo application on Struts 2.06. Try the token example and notice that in the result page that has the link "Click here to return" that the last dot is having a space on the webpage. This is because the browser will render the space since there is a newline after the </a> tag.

      I have fixed this in the supplied patch and also added some more unit tests.

      Attachments

        1. ww-1825.txt
          6 kB
          Claus Ibsen

        Activity

          People

            husted Ted Husted
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: