On 09-09-2010 at 17:43:23 Bas Kooij <kooy...@hotmail.com> wrote:
If I set the ouput mode to PHPTAL::HTML5 the doctype gets corrupted. I
doctype set to:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
If I remember correctly, this DOCTYPE triggers quirksmode (emulation of
IE5 CSS bugs) — you shouldn't use it.
which PHPTAL rewrites to:
If I set the ouptut mode to XHTML it leaves the doctype as it was.
That's intentional. PHPTAL does not support HTML4, and HTML5 forbids
DOCTYPEs other than <!DOCTYPE html>.
PHPTAL mailing list