﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
8446,Using Slug-Data in CSS Classes does not work,lilyfan,westi,"post_class() function outputs category/tag specific classes using its slug (introduced at [8641]).

But, allowed characters are different between slug and css class name. 
(css class name can use [-_a-zA-Z0-9] and non ascii unicod chars)
 A ""%"" character is allowed for slug, but not for css name.
Therefore, invalid class name will be created.

Eg: A user creates ""携帯"" category (Japanese word for ""mobile""), the category slug will be ""%e6%90%ba%e5%b8%af"" and post_class() outputs 'class=""post hentry category-%e6%90%ba%e5%b8%af""'.
This is an invalid class name.

Avoid this situation, escaping ""%"" character with backslash ""\"": category-\%e6\%90\%ba\%e5\%b8\%af""
This class name is valid. But this seems dirty. 

I suggest using class ID insted of class slug.


",defect (bug),closed,high,2.8.1,I18N,2.7,major,fixed,has-patch tested commit developer-feedback,dkikizas@… westonruter
