[wp-trac] Re: [WordPress Trac] #6444: Changeset 7561 (post rc3)
leaves an open <p> at the end of the inserted gallery html
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 15 04:51:05 GMT 2008
#6444: Changeset 7561 (post rc3) leaves an open <p> at the end of the inserted
gallery html
-------------------------------------+--------------------------------------
Reporter: johnconners | Owner: andy
Type: defect | Status: reopened
Priority: high | Milestone: 2.5.1
Component: Template | Version: 2.5
Severity: critical | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+--------------------------------------
Comment (by markjaquith):
Hm, I wasn't too interested in letting people have it both ways, but your
method gets around the problem of an inline shortcode being used on its
own line and not getting paragraph-wrapped.
For example, if I had a [myname] shortcode that outputted "Mark Jaquith"
and I did:
{{{
foo paragraph
[myname]
bar paragraph
}}}
I'd end up with:
{{{
<p>foo paragraph</p>
Mark Jaquith
<p>bar paragraph</p>
}}}
But with your patch I could just set that shortcode to run at 9 and it'd
take care of it.
--
Ticket URL: <http://trac.wordpress.org/ticket/6444#comment:13>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list