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

Struts 2 creates ugly anchor tags

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.6
    • 2.0.7, 2.1.0
    • Plugin - Tags
    • None
    • Patch

    Description

      When I first began to use Struts 2, I looked at the resulting HTML output and thought I had done something wrong since a simple <@s.a href="...">foo</@s.a> sequence would display similar to:
      <a

      href="/struts2-showcase/skill/list.action"

      >
      List available Skills</a>

      This patch makes the anchor tag much tighter so a link will render as:
      <a href="/struts2-showcase/skill/list.action">List available Skills</a>

      Attachments

        1. WW-1762.patch
          1 kB
          Erik Berg

        Issue Links

          Activity

            People

              rgielen René Gielen
              eb Erik Berg
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: