[TYPO3-core] RFC: #12207: $this->doc->sectionHeader return wrong HTML
Mathias Schreiber [wmdb >]
mathias.schreiber at wmdb.de
Thu Oct 15 08:52:48 CEST 2009
Steffen Kamper schrieb:
> Hi,
>
> this is a SVN patch request.
>
> Type: Bugfix
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=12207
>
> Branches: Trunk
>
> template::sectionHeader($label, $sH=FALSE, $addAttrib='')
>
> returns wrong HTML if $addAttrib doesn't start with a space.
> It's easy to add a check for it, so HTML is always valid.
Sounds very "FYI" to me....
+1 by reading but I think the whole check could be ommitted, because
<tr> is just as valid as <tr > or <tr class="myrow">
Whitespace doesn't hurt, the check costs performance (VERY theoretic ;))
plus if you feel offended by whitespace in HTML tags you need to get a
girlfriend anyways ;-)
cheers
Mathias
--
TYPO3 certified interogator
T3DD09 Entertainer
More information about the TYPO3-team-core
mailing list