Hi,

the W3C validator gives this error on some classes composed by filefield:

Error: character + is not allowed in the value of attribute class

This happens for example when I add a svg file which has a class name like class="field-icon-image-svg+xml"

You can see a live example by trying to validate http://ao2.it/blog/2009/12/29/keyboard-split-typing-speed

Regards,
Antonio

Files: 
CommentFileSizeAuthor
#2 filefield_svg_mime_class.patch683 bytesquicksketch

Comments

ao2’s picture

Title:Escape characers in CSS classes» Escape characters in CSS classes

Fixed a typo in the title, sorry.

quicksketch’s picture

Status:Active» Fixed
StatusFileSize
new683 bytes

Thanks for the report. I've applied this patch which corrects this problem.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.