Issue Bug Closed

#25852rtehtmlarea ignores attributes with "-" (like in the HTML5 data attributes)

Christian Eßl 04/08/11, 11:46 updated 10/24/17, 20:20

Description

The RTE (rtehtmlarea) is correctly configured to take over own html attributes in the link-element.
But when I try to take an attribute with a “-” in it, it will automatically get removed from the element.

For example:
“data-role” will not be taken over.
“datarole” will be taken over.

In HTML5 it is common to use “-”-Lines for data-attributes.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.