attributes with dashes often get turned into underscores
Reported by Bryan Larsen | January 11th, 2012 @ 05:43 PM | in Hobo 1.4 for Rails 3.2.X
Example:
<input data-x="blah"/>
outputs
<input data_x="blah" type="text" .../>
In DRYML, the attributes array has been underized. That's OK if you pass it to merge-attrs, but if you pass it to text_field_tag or content_tag or friends it doesn't get deunderized. Rapid uses text_field_tag and friends quite frequently, so all of these need to be fixed up.
Comments and changes to this ticket
-
Bryan Larsen January 11th, 2012 @ 05:54 PM
(from [4f5ca187364a742fb37b5045fe46cfa4ac6d20c5]) [#994] deunderscore_attributes for use of text_field_tag etc. https://github.com/tablatom/hobo/commit/4f5ca187364a742fb37b5045fe4...
-
Bryan Larsen September 4th, 2012 @ 04:25 PM
- State changed from new to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป