You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The jQuery Metadata Plugin supports storage of meta in classes, random attributes, child elements and HTML5 data attributes. Two of these techniques work in haml, but storing the metadata in the class attribute, or in a child element, does not convert into proper haml. Because html2haml assumes all data within the class attribute is intended to be used as such.
Using the sample HTML from the plugin's web page, I've produced the following example.
Note: this was originally reported by @goneflyin as haml/haml#416.
The jQuery Metadata Plugin supports storage of meta in classes, random attributes, child elements and HTML5 data attributes. Two of these techniques work in haml, but storing the metadata in the class attribute, or in a child element, does not convert into proper haml. Because html2haml assumes all data within the class attribute is intended to be used as such.
Using the sample HTML from the plugin's web page, I've produced the following example.
The text was updated successfully, but these errors were encountered: