[TYPO3-core] RFC: #15110: Validation warnings with sprites
Georg Ringer
mail at ringerge.org
Wed Jul 14 07:05:42 CEST 2010
Hi,
this is a SVN patch request.
Type: Bugfix (tiny)
Bugtracker references:
http://bugs.typo3.org/view.php?id=15110
Branches: 4_4, Trunk
Problem:
Switching to sprites leads to quite a few new validation warnings.
Simple reason:
function buildSpriteHtmlIconTag(array $tagAttributes, $innerHtml =
' ', $tagName = 'span') {}:
Default should be nbsp; but in the previous call of getSpriteIcon()
$innerHtml is set to "":
$innerHtml = (isset($options['html']) ? $options['html'] : '');
Solution:
Additional check should be made.
How to test:
1. Validate the DB list view
2. Apply patch & revalidate
3. Check if everything looks normal
regards
Georg
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 15110-validation-sprites.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100714/eb1f30df/attachment.txt>
More information about the TYPO3-team-core
mailing list