WordPress.org

Support

Support » How-To and Troubleshooting » Incorrect html generated

Incorrect html generated

  • Hi everyone,

    When I add a link category, I have noticed that the generated html is incorrect as follows:

    <li id="linkcat-4" class="linkcat"><h2>Test</h2>
    	<ul class="xoxo blogroll">
    <li><a href="#" title="test link">test link</a></li>
    
    	</ul>
    </li>

    Is this normal as the page wont validate? The

  • tags should be inside the
      tags. Even:
  • <h2 id="linkcat-4" class="linkcat">Test</h2>
    	<ul class="xoxo blogroll">
    <li><a href="#" title="test link">test link</a></li>
    </ul>

    would be better. Can I edit this in one of the php files so I can get the desired output.

    Thanks,

    Sam.

Viewing 1 replies (of 1 total)
  • Sorry, my tags were stripped out of my post. I meant the li tags should be within the ul tags, not outside.

    Thanks,

    Sam.

Viewing 1 replies (of 1 total)
  • The topic ‘Incorrect html generated’ is closed to new replies.
Skip to toolbar