[drupal-devel] [bug] Invalid form HTML due to ][ characters not allowed in ID attribute

Thox drupal-devel at drupal.org
Tue May 24 13:21:44 UTC 2005


Issue status update for http://drupal.org/node/23516

 Project:      Drupal
 Version:      cvs
 Component:    base system
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  Thox
 Updated by:   Thox
 Status:       patch
 Attachment:   http://drupal.org/files/issues/form_clean_id.patch (7.96 KB)

Attached patch makes Drupal forms slightly more valid. It removes "]["
from ID attributes in forms and replaces it with a dash (-).


In the future, we might clean out more characters, but these ones are
used throughout Drupal.




Thox




More information about the drupal-devel mailing list