[wp-trac] Re: [WordPress Trac] #9264: Self closing shortcodes
WordPress Trac
wp-trac at lists.automattic.com
Sat Jun 20 22:30:59 GMT 2009
#9264: Self closing shortcodes
--------------------------+-------------------------------------------------
Reporter: rb-cohen | Owner: westi
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 2.9
Component: Shortcodes | Version: 2.7.1
Severity: normal | Keywords: needs-patch early
--------------------------+-------------------------------------------------
Comment(by Viper007Bond):
Replying to [comment:22 Denis-de-Bernardy]:
> our existing shortcode regex also fails on:
>
> {{{
> [foo attr/]bar[foo attr/]bar[/foo]
> }}}
Because that's very poorly formatted text -- there's an orphaned `[/foo]`
on the end (as you have two self-closing tags before it).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9264#comment:23>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list