Make WordPress Core

Opened 11 years ago

Last modified 2 years ago

#3833 reopened defect (bug)

Extra </p> inside blockquote — at Initial Version

Reported by: audwan Owned by: anonymous
Milestone: Future Release Priority: normal
Severity: normal Version: 2.7
Component: Formatting Keywords: wpautop needs-patch
Focuses: Cc:


When using blockquote </p> is inserted directly in front of </blockquote>, making the code invalid XHTML.


<blockquote>This is a blockquote</blockquote>

Gives the following result:

<blockquote>This is a blockquote</p></blockquote>

If you use blockquotes inside lists and type text after the blockquote is closed, <p> is inserted, but never closed.

For example:

   <li><blockquote>This is a blockquote</blockquote> with more text</li>

Gives the following result:

   <li><blockquote>This is a blockquote</p></blockquote><p> with more text</li>

Seems like this forum thread adresses the same issue in the support forum.

Change History (0)

Note: See TracTickets for help on using tickets.