[wp-trac] [WordPress Trac] #3833: Extra </p> inside blockquote
WordPress Trac
noreply at wordpress.org
Thu Jan 26 16:24:11 UTC 2023
#3833: Extra </p> inside blockquote
-----------------------------------+---------------------------------
Reporter: audwan | Owner: Archibald Leaurees
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Future Release
Component: Formatting | Version: 2.7
Severity: normal | Resolution:
Keywords: wpautop needs-refresh | Focuses:
-----------------------------------+---------------------------------
Changes (by sebastienserre):
* keywords: wpautop needs-patch => wpautop needs-refresh
Comment:
Just tested and
{{{
wpautop('
text before <div class="whatever"><blockquote>
text inside the blockquote tag
</blockquote>
Some text inside the div embedding the blockquote and after the
closing blockquote tag
</div>
')
}}}
now WordPress 6.1.1 returns:
{{{
<p> text before </p>
<div class="whatever">
<blockquote><p>
text inside the blockquote tag
</p></blockquote>
<p> Some text inside the div embedding the blockquote and after the
closing blockquote tag
</p></div>
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/3833#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list