Issue Task Closed

#97478[BUGFIX] Replace array notation with string for value of allowedAttribs

TYPO3 GmbH TYPO3com 04/26/22, 12:57 updated 07/12/22, 09:12

Description

According to \TYPO3\CMS\Core\Html\HtmlParser::HTMLcleaner() the value of property “allowedAttribs” needs to be a commalist of attributes (string value) instead of an array.

Tests have also shown that despite the default setting, the class attribute for hr tags is currently stripped when the record is saved. This fix ensures that the class attribute is preserved as originally intended.

This issue was automatically created from https://github.com/TYPO3/typo3/pull/375

Reviews 0

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