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)
Change History (6)
by , 13 years ago
Attachment: | doctype.patch added |
---|
comment:1 by , 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 , 13 years ago
Component: | → Programming |
---|---|
Milestone: | → 0.0.4 |
Owner: | set to |
Merged. Thanks!
comment:3 by , 13 years ago
Status: | New → Closed |
---|
Note:
See TracTickets
for help on using tickets.
doctype.patch