WordPress.org

Forums

<p><p> problem when validating (9 posts)

  1. DennisWilliamson
    Member
    Posted 10 years ago #

    Look at this post and see if that gives you any ideas or post that section of your code here and let's take a look.

  2. DennisWilliamson
    Member
    Posted 10 years ago #

    Are you entering text on the WordPress write screen or pasting it from another editor?
    Are you using any plugins or applied any hacks (your own or others)?
    What version of WP?

  3. edge2edge
    Member
    Posted 10 years ago #

    Hi dennis.
    I am using another texteditor..textpad is my choice ;) And yes I am running a lot of plugins, and have made some adjustments myself, but not to the major WP functions like "the_content" or " get_the_content"...So I do not think that is it....It's all very strange. :) I am reviewen all the templates files related to the content...but can not seem to find an error..The WP version is 1.2...

  4. edge2edge
    Member
    Posted 10 years ago #

    Perhaps the soultion is just to write a function that slices of 3 caracthers in front and end of the content output...It is a bit quick'n'dirty, but it might just do the trick...what do you think?

  5. DennisWilliamson
    Member
    Posted 10 years ago #

    Have you tried entering a post directly into WP and seeing if that has the extra tags?
    Other than that, one of the plugins just about has to be the one touching the post on the way in or the way out.
    I don't know.

  6. edge2edge
    Member
    Posted 10 years ago #

    OH, I thought meant the code...all post are written in wp...hmm, so you mean I should try to deactived all the plugins one-by-one to see? hmm, I will have to look into that this evening. I saw that the guy from the other post did not solve his problem neighter...perhaps a "chop_chop_content" function is my best chance of making my page validate...

  7. Fernando
    Member
    Posted 10 years ago #

    edge2edge: I had the same problem and had to disable Markdown and Textile plugins. I think it had something to do with me manually entering the paragraphs so that I can apply classes to them in my posts. I recon that those two plugins also automatically put paragraph tags in the start of the post.

  8. edge2edge
    Member
    Posted 10 years ago #

    Aha, that was it! Thanks Fernando...deavtivated the Markdown plugin...and SWISH everthing was ok! Now that I know what caused it, I will dive into the Markdown plugin!
    You made my day!
    Cheers

  9. Fernando
    Member
    Posted 10 years ago #

    No problem. I'm glad my own headaches could save people from their own.
    ;)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.