[Typo3-dev] Info metatags
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Fri Nov 4 11:45:01 CET 2005
Danny schrieb:
> Hi all,
> I have a doubt about use of page.meta property.
>
> If I use the following code in template:
> page.meta.DESCRIPTION = foo & bar
>
> the HTML source is:
> <meta name="DESCRIPTION" content="foo & bar" />
This is the only correct way for xhtml. Every & must be encoded.
Masi
PS: I think a plain & was invalid in html too. It's just that the
browsers ignored this deviation from the standard. And they still do,
but those validators won't.
More information about the TYPO3-dev
mailing list