[wp-trac] [WordPress Trac] #11968: balanceTags doesn't understand namespaced tags

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 21 18:43:46 UTC 2010


#11968: balanceTags doesn't understand namespaced tags
--------------------------+-------------------------------------------------
 Reporter:  Otto42        |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  high          |   Milestone:  Unassigned
Component:  Formatting    |     Version:  2.9.1     
 Severity:  major         |    Keywords:            
--------------------------+-------------------------------------------------
 Try to put something like this into a post (with unfiltered_html enabled):

 {{{
 <test:something>
 garbage
 </test:something>
 }}}

 If the balance tags option is enabled, it will mangle this content into
 this:
 {{{
 <test :something>
 garbage
 </test>
 }}}

 Reason: Balance tags doesn't understand that colons can be part of tag
 names.

 This makes using things like XFBML (part of Facebook Connect) in posts
 very difficult.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11968>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list