[wp-trac] Re: [WordPress Trac] #3833: Extra </p> inside blockquote
WordPress Trac
wp-trac at lists.automattic.com
Wed Oct 31 20:49:47 GMT 2007
#3833: Extra </p> inside blockquote
------------------------------------------------------------------+---------
Reporter: audwan | Owner: anonymous
Type: defect | Status: reopened
Priority: normal | Milestone:
Component: Administration | Version: 2.3.1
Severity: normal | Resolution:
Keywords: blockquote invalid list paragraph tags wpautop autop |
------------------------------------------------------------------+---------
Changes (by foolswisdom):
* keywords: blockquote invalid list paragraph tags => blockquote invalid
list paragraph tags wpautop autop
* priority: low => normal
Old 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 [http://wordpress.org/support/topic/106474 this forum thread]
> adresses the same issue in the support forum.
New 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>
}}}
Seems like [http://wordpress.org/support/topic/106474 this forum thread]
adresses the same issue in the support forum.
Comment:
ENV: WP trunk r6301
Confirmed bug exists as described.
The bug won't reproduce if there are no blank lines before the
blockquotes, or if there is a paragraph before the blockquote. That likely
explains it working for rob1n .
Repro having a block quote by the only text, inserted using visual editor.
Removed that part about blockquote in a list from description.
--
Ticket URL: <http://trac.wordpress.org/ticket/3833#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list