Title: Validation problem with blockquotes
Last modified: August 18, 2016

---

# Validation problem with blockquotes

 *  [dilettanti](https://wordpress.org/support/users/dilettanti/)
 * (@dilettanti)
 * [22 years, 7 months ago](https://wordpress.org/support/topic/validation-problem-with-blockquotes/)
 * I just [installed WP](http://www.jokeofalltrades.com/poetry) 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](https://wordpress.org/support/users/dilettanti/)
 * (@dilettanti)
 * [22 years, 7 months ago](https://wordpress.org/support/topic/validation-problem-with-blockquotes/#post-25834)
 * 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
 *  [BrianAThomas](https://wordpress.org/support/users/brianathomas/)
 * (@brianathomas)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/validation-problem-with-blockquotes/#post-26523)
 * 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
 *  [bendg](https://wordpress.org/support/users/bendg/)
 * (@bendg)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/validation-problem-with-blockquotes/#post-26524)
 * 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.
 *  [BrianAThomas](https://wordpress.org/support/users/brianathomas/)
 * (@brianathomas)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/validation-problem-with-blockquotes/#post-26525)
 * Thank you. That worked.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Validation problem with blockquotes’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [BrianAThomas](https://wordpress.org/support/users/brianathomas/)
 * Last activity: [21 years, 5 months ago](https://wordpress.org/support/topic/validation-problem-with-blockquotes/#post-26525)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
