Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Option "hyphenate_data_attrs" is not working #1187

@t-miyamoto-jp

Description

@t-miyamoto-jp

In haml v6, neither of the following options are working.
template_option: Haml::Template.options[:hyphenate_data_attrs] = false
tag_option: %tag{:hyphenate_data_attrs => true}

In module, the above option is already not used and all data attributes are hyphenated.
Haml::AttributeBuilder#flatten_attributes

However, REFERENCE.md mentions hyphenate_data_attrs.

Should the option be enabled or should the description in REFERENCE.md be removed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions