Issue Bug Closed

#23175Validation warnings with sprites

Georg Ringer 07/14/10, 07:01 updated 03/29/11, 14:24

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.