Invalid Anchor Tags Fixed Incorrectly

  •  03-27-2009, 10:06 AM

    Invalid Anchor Tags Fixed Incorrectly

    <a> tags are created incorrectly on each line in the content

    To dupe
    1. Paste the below code into html mode
    <p>top</p>
    <p>middle</p>
    <p>bottom<br />
    </p>
    1. Edit line one, to be <p><a href="#bottom">top<a/></p>
    2. toggle to Normal view then back to HTML view
    3. Notice the change in HTML to:
    <p><a href="#bottom">top</a><a></a></p>
    <p><a>middle</a></p>
    <p><a name="bottom">bottom</a><a><br />
    </a></p>
    <a></a>
     
    Duplicable in cutesoft website
View Complete Thread