ICEfaces
  1. ICEfaces
  2. ICE-2732

Parser problem - <a>'s being injected into other components on the page

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.7Beta1
    • Fix Version/s: 1.7RC1, 1.7
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ANY

      Description

      An empty <a> with href="#" on the page will rendered the following page content inside another <a>. e.g:

      <a href="#"></a>
      <h2>hello</h2>

      will be rendered as:
      <a href="#"></a>
      <h2><a href="#">hello</a></h2>

      ------------

      Might be a more general issue:

      On some pages appeared suddenly links where always have been text before.

      Our finding is that if you have <p>Some text</p> in your xhtml pages it is rendered to <p><a href="">Some text</a></p> in the output.

        Activity

        Sam Xiao created issue -
        Sam Xiao made changes -
        Field Original Value New Value
        Fix Version/s 1.7 [ 10080 ]
        Ken Fyten made changes -
        Assignee Ted Goddard [ ted.goddard ]
        Ken Fyten made changes -
        Summary Parser problem with empty <a> on the page Parser problem - <a>'s being injected into other components on the page
        Description An empty <a> with href="#" on the page will rendered the following page content inside another <a>. e.g:

        <a href="#"></a>
        <h2>hello</h2>

        will be rendered as:
        <a href="#"></a>
        <h2><a href="#">hello</a></h2>

        An empty <a> with href="#" on the page will rendered the following page content inside another <a>. e.g:

        <a href="#"></a>
        <h2>hello</h2>

        will be rendered as:
        <a href="#"></a>
        <h2><a href="#">hello</a></h2>

        ------------

        Might be a more general issue:

        On some pages appeared suddenly links where always have been text before.

        Our finding is that if you have <p>Some text</p> in your xhtml pages it is rendered to <p><a href="">Some text</a></p> in the output.
        Priority Major [ 3 ] Critical [ 2 ]
        Ted Goddard made changes -
        Assignee Ted Goddard [ ted.goddard ] Sam Xiao [ sam.xiao ]
        Ken Fyten made changes -
        Assignee Sam Xiao [ sam.xiao ] Ted Goddard [ ted.goddard ]
        Ted Goddard made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 1.7RC1 [ 10123 ]
        Fix Version/s 1.7 [ 10080 ]
        Ken Fyten made changes -
        Fix Version/s 1.7 [ 10080 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Ted Goddard [ ted.goddard ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Sam Xiao
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: