[wp-trac] [WordPress Trac] #28564: Shortcode Attributes with HTML Tags no longer working

WordPress Trac noreply at wordpress.org
Tue Jun 17 15:35:29 UTC 2014


#28564: Shortcode Attributes with HTML Tags no longer working
--------------------------+--------------------
 Reporter:  baden03       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  4.0
Component:  Formatting    |     Version:  trunk
 Severity:  major         |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+--------------------

Comment (by miqrogroove):

 Also note, while the double quotes in the examples appear to offer a
 reliable syntax, those quotes are not parsed by the main regexp in
 shortcodes.php.  In my previous example, the existing shortcode engine
 (with or without [28727]) parses that phrase into the following shortcode
 text:

 {{{"[expand title="<a href='http://example.com/?a[]"}}}

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


More information about the wp-trac mailing list