Opened 12 years ago

Last modified 12 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.



Subtickets

Attachments (2)

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

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by Odin Hørthe Omdal

Attachment: doctype.patch added

doctype.patch

Changed 12 years ago by Odin Hørthe Omdal

Attachment: doctype.patch.1 added

doctype.patch

comment:1 Changed 12 years ago by Odin Hørthe Omdal

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 Changed 12 years ago by Christopher Allan Webber

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



comment:3 Changed 12 years ago by Christopher Allan Webber

Status: NewClosed

comment:3 Changed 11 years ago by Will Kahn-Greene

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

Note: See TracTickets for help on using tickets.