[wp-trac] [WordPress Trac] #33102: Shortcodes with Quoted Attributes Break Inside of Quoted HTML Attributes

WordPress Trac noreply at wordpress.org
Thu Jul 23 22:51:49 UTC 2015


#33102: Shortcodes with Quoted Attributes Break Inside of Quoted HTML Attributes
--------------------------+------------------------------
 Reporter:  cgrymala      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Shortcodes    |     Version:  4.2.3
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------

Comment (by iamfriendly):

 This also appears to happen with nested shortcodes. i.e.


 {{{
 [outer_shortcode with="some_attributes"]

 <a href="[the_permalink]" title="[the_title]">[the_title]</a> <!-- does
 not work -->

 [the_permalink] <!-- does work -->

 [/outer_shortcode]
 }}}

 Mixing the quotes in the outer shortcode attributes/inner shortcodes
 doesn't seem to help in this case.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33102#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list