[TYPO3-core] FYI72: Fix bug #12623: Validation issues in sysext scheduler: Fix several errors
Ernesto Baschny [cron IT]
ernst at cron-it.de
Fri Nov 20 09:49:38 CET 2009
Oliver Klee schrieb:
> Hi,
>
> Francois Suter schrieb:
>>> - Quote & to ampersands in links
>> I'm not sure why that is necessary actually, although there's been a lot
>> of talk about it recently. It's about XHTML compatibility, right?
>
> No, it's for general HTML compatibility (even for HTML 3.2). In HTML,
> all ampersands need to be encoded as & because the ampersand is
> "special" as it starts HTML entities.
>
> This does not affect JavaScript, though (which should be CDATA).
Oli is right, but don't forget that it *does* affect JS which is added
in "onclick" or other event handlers that are placed into HTML tag
attributes (and which cannot be escaped with CDATA).
Cheers,
Ernesto
More information about the TYPO3-team-core
mailing list