[wp-trac] Re: [WordPress Trac] #6969: Don't apply wptexturize() to the insides of shortcode tags

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 22 23:03:43 GMT 2009


#6969: Don't apply wptexturize() to the insides of shortcode tags
-------------------------------------+--------------------------------------
 Reporter:  Viper007Bond             |        Owner:  tellyworth
     Type:  enhancement              |       Status:  new       
 Priority:  normal                   |    Milestone:  2.8       
Component:  General                  |      Version:  2.5.1     
 Severity:  normal                   |   Resolution:            
 Keywords:  has-patch needs-testing  |  
-------------------------------------+--------------------------------------
Comment (by DD32):

 > Don't shortcodes use [] only? Why don't you texturize text inside <>?

 {{{<...>}}} are HTML tags, So applying texturize to those would break all
 HTML inside a post (inc. formatting).

 If you were to enter {{{< "blah blah" >}}} inside a post in the visual
 mode, you would have {{{&gt; "blah..}}} when texturize came to it, So the
 content inside them IS texturized if entered via the visual mode.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6969#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list