WordPress.org

Ready to get started?Download WordPress

Forums

Validation Failure when use <!--more--> (7 posts)

  1. _rg_
    Member
    Posted 7 years ago #

    I discover when using the <!--more--> quick tag cutting part of a post text to shoy the "Read more >", the html code will change inside de of the content to something like this:

    <span class="postbody">post text...Read more »
    </span>

    For some reason i couldn´t understand the validator at w3.org tell me that:

    End tag for "span" omitted, but OMITTAG NO was specified

    and marks this: </p">"

    So if i use this, the page don´t validate. Any brilliant mind could fix this?
    Thanks

  2. Chris_K
    Member
    Posted 7 years ago #

    Any brilliant mind could fix this?

    Probably not without a link to your blog.

    Since the other 1.3million WP blogs don't have this issue, I think you'd want to keep looking at the validator results and see if you don't have other errors "upstream" of the more tag that are causing tag matching issues.

  3. _rg_
    Member
    Posted 7 years ago #

    thks handy but yes, is the only one error that validator indicates. ops!!

  4. Chris_K
    Member
    Posted 7 years ago #

    Still no link?

    So, if you change themes, do you still have validation issues? For instance, with the Default theme.

    I use the more tag all the time (2 of 'em on my index right now in fact) and I still validate. But my theme doesn't wrap it in the <span> tags either.

  5. _rg_
    Member
    Posted 7 years ago #

    thks again, sorry for your time. But the_content, i think, it don´t use at all nothing from the theme, isn´t that way? I mean the code generated by the_content it´s not configurated inside any file of any theme, so i don´t think it could be the problem. But i´m gonna try it...!!
    I coludn´t show you a link because i´m running it in a virtual host.. :)

  6. _rg_
    Member
    Posted 7 years ago #

    yea! is the same, the same error with the default theme. :(
    BUTTTTT!!!! ñfk

    this is the peace of code suposed to be wrong:
    [code]
    <p><span class="postbody"><img alt="sandy1.jpg" id="image5" src="Escuela%20Freudiana%20de%20Montevideo_archivos/sandy1.jpg">bla <a href="http://192.168.1.11/_trabajos/wordpress/escuelafreudiana/?p=3#more-3">Read More»</a>
    </span></p>

    [/code]

    so, i´m not seeing nothing wrong with this. Any body see something?
    :::?????

  7. vkaryl
    Member
    Posted 7 years ago #

    Not without a link to your blog.

Topic Closed

This topic has been closed to new replies.

About this Topic