Opened 13 years ago

Last modified 13 years ago

#157 closed defect (FIXED)

Default theme should have DOCTYPE to trigger standards mode

Reported by: Odin Hørthe Omdal Owned by: Odin Hørthe Omdal
Priority: minor Milestone: 0.0.4
Component: programming Keywords:
Cc: Parent Tickets:

Description

W3 validator barfs at the default theme because of this missing
thing. Also, some browsers will change behaviour when they see
pages that miss that.

I suggest using the standard HTML5 doctype:

.. raw:: html

   <!doctype html>
   
Offering an patch.



Attachments (2)

doctype.patch (512 bytes ) - added by Odin Hørthe Omdal 13 years ago.
doctype.patch
doctype.patch.1 (520 bytes ) - added by Odin Hørthe Omdal 13 years ago.
doctype.patch

Download all attachments as: .zip

Change History (6)

by Odin Hørthe Omdal, 13 years ago

Attachment: doctype.patch added

doctype.patch

by Odin Hørthe Omdal, 13 years ago

Attachment: doctype.patch.1 added

doctype.patch

comment:1 by Odin Hørthe Omdal, 13 years ago

There are two newlines before ``<!doctype>``, there should be
none.

I was able to take one away, however, the other one seems to come
from the machinery. I tried tracing as far back as WebOB, but
stopped there.

At least, the new version takes away one of the newlines.



comment:2 by Christopher Allan Webber, 13 years ago

Component: Programming
Milestone: 0.0.4
Owner: set to Odin Hørthe Omdal
Merged. Thanks!



comment:3 by Christopher Allan Webber, 13 years ago

Status: NewClosed

comment:3 by Will Kahn-Greene, 13 years ago

The original url for this bug was http://bugs.foocorp.net/issues/447 .

Note: See TracTickets for help on using tickets.