• Resolved timholz

    (@timholz)


    Hi

    The auto <p> function causes errors in html validation.
    No matter what i do, the error is still there.
    The auto p function inserts code like this:<p></p>
    The validator reads this as ?no end p tag is seen?.
    Is there a way to avoid this or some work around?
    Can this error be ignored?
    Or is the only remedy to disable the function?

    Thanks for your interest

    regards
    theo

Viewing 6 replies - 1 through 6 (of 6 total)
  • Can you post a URL as an example of this issue?

    Thread Starter timholz

    (@timholz)

    Hi

    Thanks for your response.
    Here is the page: ratsblog.ch/weiterbildung
    When you check this link with the w3c validator, you get three times:
    ?No p element in scope but a p end tag seen.?

    Inspecting the Dom the tags look like: <p></p>
    The validator obviously cannot read this correctly.
    I do not know whether this mistake is neglectable, but i would like to know why it occurs and if there is a way to fix it.

    Regards
    theo

    Go to your post and click the “text” tab instead of visual. Delete the <p> tags and reenter them. It seems like your site changed it into an html entity instead of the tag.

    Thread Starter timholz

    (@timholz)

    I did not enter any <p> tags at all. It is wordpress that does that automatically. There is not a single <p> Tag in the text editor.

    Thread Starter timholz

    (@timholz)

    Hi
    I found the solution in the german part of the forum.
    I added p tags to my shortcode.

    regards
    theo

    Thread Starter timholz

    (@timholz)

    I forgot to mark this topic as closed.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘wordpress auto p function’ is closed to new replies.