[BUGFIX] RTE: itemscope, itemtype, itemprop not working in span tag
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Html / RteHtmlParser.php
index b9329dc..39c8d09 100644 (file)
@@ -1192,7 +1192,7 @@ class RteHtmlParser extends \TYPO3\CMS\Core\Html\HtmlParser {
                                        if (isset($keepTags['span'])) {
                                                $classes = array_merge(array(''), $this->allowedClasses);
                                                $keepTags['span'] = array(
-                                                       'allowedAttribs' => 'id,class,style,title,lang,xml:lang,dir',
+                                                       'allowedAttribs' => 'id,class,style,title,lang,xml:lang,dir,itemscope,itemtype,itemprop',
                                                        'fixAttrib' => array(
                                                                'class' => array(
                                                                        'list' => $classes,