I stumbled upon this because I got multiple description tags using EXT:news which adds meta tags using its MetaTagViewHelper which uses $GLOBALS['TSFE']->getPageRenderer()->addMetaTag(). Tags are built using Fluid's TagBuilder, which always adds ' />' to empty tags.
One quick solution is to change the fluid templates of EXT:news and disable the meta tag generation.
A much better solution would be to use $GLOBALS['TSFE']->getPageRenderer()->addMetaTag() (and addHeaderData) in EXT:metaseo to add the header data to prevent duplicate tags with same content.
Reported by @georg-tiefenbrunn via https://forge.typo3.org/issues/62154 :
I stumbled upon this because I got multiple description tags using EXT:news which adds meta tags using its MetaTagViewHelper which uses $GLOBALS['TSFE']->getPageRenderer()->addMetaTag(). Tags are built using Fluid's TagBuilder, which always adds ' />' to empty tags.
Thus EXT:news adds following meta tags:
EXT:metaseo later adds its own meta tags:
One quick solution is to change the fluid templates of EXT:news and disable the meta tag generation.
A much better solution would be to use $GLOBALS['TSFE']->getPageRenderer()->addMetaTag() (and addHeaderData) in EXT:metaseo to add the header data to prevent duplicate tags with same content.