[wp-trac] Re: [WordPress Trac] #8446: post_class() outputs invalid css class

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 7 23:50:05 GMT 2009


#8446: post_class() outputs invalid css class
--------------------------+-------------------------------------------------
 Reporter:  lilyfan       |       Owner:  anonymous
     Type:  defect (bug)  |      Status:  new      
 Priority:  high          |   Milestone:  2.7.2    
Component:  Template      |     Version:  2.7      
 Severity:  major         |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by hakre):

 after reading into [http://www.w3.org/International/ IRIs] and CSS specs,
 seeing the tests i might be possible to use the IRI encoded slugs,
 [http://www.phpwact.org/php/i18n/utf-8 convert them into UTF-8 with php
 (4/5)] and then use the unicode representation with all control characters
 xml-encoded (removed?) and havin ' and " xml encoded.

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


More information about the wp-trac mailing list