• aaviel

    (@aaviel)


    I tried validating my wordpress blog, and I get errors as result of bad nesting, on the code:


    <div class="blogContent">
    <p> It has been approximately an hour since we arrived home. That’s three days of white sand and two days of province. <a href="http://transience.last-waltz.net/blog/?p=88#more-88"></p>
    <p>Read the rest of this entry &raquo;</a></p>

    </div>

    As you can see, the a tags are badly nested with the p tags.

    However, I can’t fix the error, because it’s a predefined function. This is the code from my template:


    <div class="blogContent">
    <?php the_content('Read the rest of this entry &raquo;'); ?>
    </div>

    Help, please?

Viewing 3 replies - 1 through 3 (of 3 total)
  • pcmt

    (@pcmt)

    That’s very strange. Is your <!--more--> quicktag cleanly on its own line in your edit post textarea (with a blank line above and below) or has it got entangled with something else?

    Thread Starter aaviel

    (@aaviel)

    I tried looking into that, and the <!--more--> tag is definitely in a line by itself. I checked the HTML, and the tag is actually enclosed in its own <p> tags. But the error is still the same. I’m kind of bothered, because I have absolutely no idea why it outputs bad HTML code.

    I’m having problems with the more tag too. Just like aaviel, i’m trying to validate my site, but I get errors because of that line. Figured out how to fix this yet?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Bad nesting?’ is closed to new replies.