This project is archived and is in readonly mode.
radio_button can generate duplicate id attributes (invalid HTML)
-
Rainer Blessing
Only word characters (letters, digits, and underscores) are used from the value attribute. The attached patch would also allow a minus character.
-
Rainer Blessing
- Tag set to patch
-
José Valim
- Milestone cleared.
- Assigned user set to José Valim
Rainer, good patch! Could you please include tests as well?
-
Neeraj Singh
Attached is test.
-
Repository
- State changed from new to resolved
(from [70c932f794073812818a1bd6b9d7de422b5ef679]) adds minus to value part of id [#4862 radio_button can generate duplicate id attributes (invalid HTML) state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/70c932f794073812818a1bd6b9d7de...
