[wp-trac] Re: [WordPress Trac] #9437: WordPress munges camelcase inline SVG elements

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 4 08:17:37 GMT 2009


#9437: WordPress munges camelcase inline SVG elements
--------------------------+-------------------------------------------------
 Reporter:  codedread     |        Owner:  anonymous 
     Type:  defect (bug)  |       Status:  reopened  
 Priority:  normal        |    Milestone:  Unassigned
Component:  General       |      Version:  2.5       
 Severity:  normal        |   Resolution:            
 Keywords:  dev-feedback  |  
--------------------------+-------------------------------------------------

Comment(by hakre):

 @denis: yeah, infact, that would be worth a test. just added svg, circle
 and animateTransform to the list manually and it did not a p- and br-
 elements any longer:

 ''wp-includes/formatting.php'', line ~120 in function wpautop():

 {{{$allblocks =
 '(?:svg|circle|animateTransform|table|thead|tfoot|caption|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|select|form|map|area|blockquote|address|math|style|input|p|h[1-6]|hr)';}}}

 anyway, it did not display the SVG to me, but this is because of the
 doctype of the theme - i have not changed it to the needed xhtml+svg one.

 so a filter there would do the job actually.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9437#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list