WordPress.org

Make WordPress Core

Opened 8 years ago

Last modified 6 months 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: has-patch wpautop
Focuses: Cc:

Description

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

Example:

<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:

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

Gives the following result:

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

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

Change History (0)

Note: See TracTickets for help on using tickets.