#994 ✓resolved
Bryan Larsen

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

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Pages