Pylons/pyramid — Issue #373: Scaffolds are not W3C valid
Author: pppierre
Created: 2011-12-10 08:46:28+00:00
State: open

When you create a new application with "pcreate -t alchemy " command, you obtain a "mytemplate.pt" template which is not a XHTML 1.0 strict valid page. To do so, you have to encapsulate tags in a

tag.

Similarly, the code added by pyramid_debugtoolbar is far from valid. In particular, it uses unknown tag.

I thing it would be a good think if all scaffolds and generated HTML pass the W3C validity test with success.