#23175Validation warnings with sprites
Description
Switching to sprites leads to quite a few new validation warnings.
Simple reason:
protected static function buildSpriteHtmlIconTag(array $tagAttributes, $innerHtml = ‘ ‘, $tagName = ‘span’) {}
Default should be but in the previous call of getSpriteIcon() $innerHtml is set to “”:
$innerHtml = (isset($options[‘html’]) ? $options[‘html’] : ‘’);
Therefore an additional check should be made.
(issue imported from #M15110)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.