Bug #25852

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

Added by Christian Eßl over 9 years ago. Updated about 3 years ago.

Must have
Content Rendering
Target version:
Start date:
Due date:
% Done:


TYPO3 Version:
PHP Version:
Is Regression:
Sprint Focus:


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.

Related issues

Duplicates TYPO3 Core - Bug #34371: Custom HTML5 attributes loose their hyphens when rendered in frontend Closed 2012-02-28


#1 Updated by Susanne Moog over 9 years ago

  • Category set to RTE (rtehtmlarea + ckeditor)

#2 Updated by Stanislas Rolland over 9 years ago

  • Status changed from New to Needs Feedback

I can't find any problem using a data attribute as additional attribute on links. Please explain what you did and what problem you encountered.

#3 Updated by Stanislas Rolland over 8 years ago

In what browser do you encounter this issue?

#4 Updated by Stanislas Rolland over 8 years ago

This was a frontend rendering issue. See #34371.

#5 Updated by Stanislas Rolland over 8 years ago

  • Category changed from RTE (rtehtmlarea + ckeditor) to Content Rendering
  • Status changed from Needs Feedback to Resolved
  • Target version set to 4.5.13
  • PHP Version set to 5.3

#6 Updated by Riccardo De Contardi about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF