--- ../../../typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractTagBasedViewHelper.php 2016-11-10 12:20:05.000000000 +0100 +++ ../../../typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractTagBasedViewHelper_diff.php 2016-11-10 12:19:43.000000000 +0100 @@ -53,6 +53,7 @@ { $this->registerArgument('additionalAttributes', 'array', 'Additional tag attributes. They will be added directly to the resulting HTML tag.', false); $this->registerArgument('data', 'array', 'Additional data-* attributes. They will each be added with a "data-" prefix.', false); + $this->registerArgument('itemprop', 'string', 'Additional itemprop attribute', false); } /** @@ -80,6 +81,10 @@ } } + if ($this->hasArgument('itemprop') && is_string($this->arguments['itemprop'])) { + $this->tag->addAttribute('itemprop', $this->arguments['itemprop']); + } + if (isset(self::$tagAttributes[get_class($this)])) { foreach (self::$tagAttributes[get_class($this)] as $attributeName) { if ($this->hasArgument($attributeName) && $this->arguments[$attributeName] !== '') {