Skip to content

Copy data-* into the HTML along with aria-* - #80

Open
dstelzer wants to merge 1 commit into
mainfrom
data-attributes
Open

Copy data-* into the HTML along with aria-*#80
dstelzer wants to merge 1 commit into
mainfrom
data-attributes

Conversation

@dstelzer

Copy link
Copy Markdown
Contributor

It's desirable to set certain HTML properties on spans and divs via their styleclass. Currently, this covers ARIA attributes. This PR makes it also cover data attributes, which can be used via CSS and JavaScript to handle any other customization a user might need, without opening up the problems of arbitrary HTML injection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant