[TYPO3-core] FYI72: Fix bug #12618: Validation issue in sysext lowlevel: Fix some warnings

Christian Kuhn lolli at schwarzbu.ch
Mon Nov 16 23:53:45 CET 2009


The attached patch will be committed to SVN trunk in 72 hours if nobody
complains.

Type: bugfix

Branches: trunk

Bugtracker references:
http://bugs.typo3.org/view.php?id=12618

Problem:
The t3lib_arraybrowser issues some warning when running the source
through tidy.

Solution:
- <a> escaping malformed URI reference: Tons of a hrefs use $ and '.
Escape them with urlencode properly
- trimming empty <b>: There are empty <b></b> tags if a key has no
value. Omit the b tag if there is no content
- <a> cannot copy name attribute to id: The name attribute is deprecated
and we should use id instead. The id's are unique, created by md5, but
must not start with a number. Solution is to switch to id and add "a" as
first character.

Notes:
The arraybrowser is only used in the configuration, aka lowlevel module
in core.

Regards
Christian
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 12618.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091116/2d8d63bb/attachment-0001.txt>


More information about the TYPO3-team-core mailing list