MyFaces Tomahawk
  1. MyFaces Tomahawk
  2. TOMAHAWK-1609

tomahawk12 <t:htmlTag tag="br"/> generates <br></br> which many browsers parse as two break tags when parsing as HTML.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.8, 1.1.11
    • Fix Version/s: 1.1.12
    • Component/s: Html Tag
    • Labels:
      None
    • Environment:
      WebSphere 7.0.x using Firefox 9, IE 8 and 9, and Chrome

      Description

      In the tomahawk12 library htmlTag forces tags specified by the "tag"attribute to have separate start and end tags. However HTML specifically disallows certain tags, like 'br' having end tags. Many browsers parse the end 'br' tag as a second tag, rather than an end to the first tag.

      Note that the tomahawk (JSF 1.1 version) library does not do this. It has a different implementation of the HtmlTagRenderer.encodeEnd method.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Leonardo Uribe
            Reporter:
            Bob Mitchell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development