Bug #23175 » 15110-validation-sprites.patch
t3lib/class.t3lib_iconworks.php (working copy) | ||
---|---|---|
* @param string $tagName (optional) the name of the HTML element that should be used (span by default)
|
||
*/
|
||
protected static function buildSpriteHtmlIconTag(array $tagAttributes, $innerHtml = ' ', $tagName = 'span') {
|
||
$innerHtml = (empty($innerHtml) ? ' ' : $innerHtml);
|
||
$attributes = '';
|
||
foreach ($tagAttributes as $attribute => $value) {
|
||
$attributes .= ' ' . htmlspecialchars($attribute) . '="' . htmlspecialchars($value) . '"';
|