Active
Project:
Content Construction Kit (CCK)
Version:
6.x-2.9
Component:
General
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2011 at 11:40 UTC
Updated:
23 Mar 2011 at 11:40 UTC
If you create a field with name containing single quote (I'am...) it will create invalid classes and ids for that field: edit-field-over-18-value-I'm-over-18-years-old-wrapper
making it impossible to theme that field.
A valid class/id name must start with an underscore (_), a dash (-), or a letter(a–z), followed immediately by a letter or underscore, and then any number of dashes, underscores, letters, or numbers:
-?[_a-zA-Z]+[_a-zA-Z0-9-]*