[Typo3-dev] xhtml compliancy in getTypoLink()

Leendert Brouwer [Netcreators] leendert at netcreators.nl
Tue Jun 1 10:35:38 CEST 2004


"Kasper Skårhøj" <kasper at typo3.com> wrote in message
news:mailman.833.1085783559.6288.typo3-dev at lists.netfielders.de...
> getTypoLink() must return a URL with plain "&". It is *ALWAYS* on output
> you should convert & to &amps;
>
> So, in your code you do:
>
> <a href="'.htmlspecialchars($this->cObj->getTypoLink()).'"
>
> or whatever...
>
> - kasper
>

Ok. Then a lot of extension writers do not keep that in account. This kind
of stuff is useful for the developer's guide too :)






More information about the TYPO3-dev mailing list