WordPress.org

Ready to get started?Download WordPress

Forums

xhtml validation, the_excerpt_reloaded & linknotes -- weird (1 post)

  1. nmallory
    Member
    Posted 8 years ago #

    O.K. So I have the_excerpt_reloaded on my index.php and am using the linknotes -- both of which are great! However, I'm getting xhtml validation errors for my main page that don't seem to make sense; the code generated comes out like below when I view source:

    <p>That apparently didnt help.</p>
    <p>The only movie I could remember him in <br><span class="more-link"> <a href="http://nmallory.exit-23.net/20050815/christopher-who-is-running-for-president#more-389">.read more.</a></span><br>
    <br>
    </p><div class="alt">Linknotes:
    <ol>
    <li id="linknote-389-1"><a href="http://walken2008.com">Christopher Walken for President 2008</a> <a href="#noted-389-1"><strong>↩</strong>

    BUT

    w3.org says it looks like

    <p>That apparently didn’t help.</p>
    <p>The only movie I could remember him in <br /><span class="more-link"> <a href="http://nmallory.exit-23.net/20050815/christopher-who-is-running-for-president#more-389">.read more.</a></span><br />
    <br />
    <div class="alt">Linknotes:
    <ol>
    <li id="linknote-389-1"><a href="http://walken2008.com">Christopher Walken for President 2008</a> <a href="#noted-389-1"><strong>↩</strong></a></li></ol>
    </div>
    </p>

    The error says that a <div> can't be placed there. I think that if the </p> was there like in the viewed source, it would validate.

Topic Closed

This topic has been closed to new replies.

About this Topic