[TYPO3-core] RFC: #15110: Validation warnings with sprites

Stefan Galinski sgalinski at df.eu
Thu Sep 2 18:46:34 CEST 2010


REMINDER

Stefan Galinski wrote:

> REMINDER
> 
> Georg Ringer wrote:
> 
>> 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
> 

-- 
Stefan Galinski


More information about the TYPO3-team-core mailing list