Uploaded image for project: '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.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.8, 1.1.11
    • 1.1.12
    • Html Tag
    • None
    • 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.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            bmitchell William Mitchell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: