• I just installed WP and haven’t tweaked anything (it’s fresh “out of the box,” so to speak—except for the colors, which I know are horrible—I’m surveying people about which dominant color to use). I tried to post a poem wrapped in a blockquote tag, and WP is inserting a closing paragraph tag after the opening blockquote tag. Naturally, the page won’t validate, even though the post contained nothing beyond the blockquote (containing some perfectly valid mark-up). So I have two questions:

    1. Which line in the texturize code is causing this? (I haven’t had a chance to work through all the regexps yet).
    2. How difficult would it be to hack WP to be able to turn off the texturizing on a post-by-post basis?

    It’s looking good otherwise. I like the PHPness of it all, so I can tweak away if I get brave, and the quicktags are nice (and tweakable). I’d like to use WP on my new forum if I can, but the site will be geared toward poetry, and I’d like it to validate, so it’s somewhat important that I get this straightened out.
    Thanks,
    —Michael

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter dilettanti

    (@dilettanti)

    You’re right—when I republish without the class attribute, it works fine. I’m using version 0.72 (just downloaded it on Sunday). I haven’t really had a chance to look at the source yet, so I don’t have much familiarity with how WP works (I’m a long-time MT user).
    I’ll take a closer look at wpautop (can’t really do it now, while I’m at work). I definitely need to be able to have attibutes on just about any element. I guess I’ll report back if I figure anything out.
    Thanks,
    —Michael

    I am having this problem as well in version 1.2.1.
    It looks like it doesn’t end the paragraph tag before it starts the blockuote, and then ends the paragraph tag at the end of the blockquote without starting one inside it. It seems okay after that, it starts a new paragraph tag and ends it properly.
    Which file needs fixed in version 1.2.1, and what needs done to it?
    Thank you.
    -Brian

    When you use blockquote make sure you start it after an empty line, so the previous paragraph gets closed by WP. Also use p begin and end tags within the blockquote, so the wpautop function doesn’t mess with it.

    Thank you. That worked.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Validation problem with blockquotes’ is closed to new replies.