Project

General

Profile

Actions

Bug #23175

closed

Validation warnings with sprites

Added by Georg Ringer over 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Could have
Category:
-
Target version:
-
Start date:
2010-07-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Files

15110-validation-sprites.patch (695 Bytes) 15110-validation-sprites.patch Administrator Admin, 2010-07-14 07:02
rfc15110_v2.diff (3.04 KB) rfc15110_v2.diff Administrator Admin, 2010-07-25 18:34

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #23606: phpunit: Testsuite: t3lib_iconWorksTest fails some tests due to newly included   between the opening and closing span tagClosedErnesto Baschny2010-09-24

Actions
Actions

Also available in: Atom PDF