Fossil SCM
Add a DOCTYPE to the beginning of every page. IE8 appears to work better with the DOCTYPE in place.
Commit
0faa676fab1cf3cc93e30c2137295c6e793c1339
Parent
63d46e6d33c41ea…
1 file changed
+3
+3
| --- src/style.c | ||
| +++ src/style.c | ||
| @@ -88,10 +88,13 @@ | ||
| 88 | 88 | va_start(ap, zTitleFormat); |
| 89 | 89 | zTitle = vmprintf(zTitleFormat, ap); |
| 90 | 90 | va_end(ap); |
| 91 | 91 | |
| 92 | 92 | cgi_destination(CGI_HEADER); |
| 93 | + cgi_printf("%s", | |
| 94 | + "<!DOCTYPE html PUBLIC \"-//W3C/DTD XHTML 1.0 Strict//EN\"" | |
| 95 | + " \"http://www.x3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">"); | |
| 93 | 96 | |
| 94 | 97 | if( g.thTrace ) Th_Trace("BEGIN_HEADER<br />\n", -1); |
| 95 | 98 | |
| 96 | 99 | /* Generate the header up through the main menu */ |
| 97 | 100 | Th_Store("project_name", db_get("project-name","Unnamed Fossil Project")); |
| 98 | 101 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -88,10 +88,13 @@ | |
| 88 | va_start(ap, zTitleFormat); |
| 89 | zTitle = vmprintf(zTitleFormat, ap); |
| 90 | va_end(ap); |
| 91 | |
| 92 | cgi_destination(CGI_HEADER); |
| 93 | |
| 94 | if( g.thTrace ) Th_Trace("BEGIN_HEADER<br />\n", -1); |
| 95 | |
| 96 | /* Generate the header up through the main menu */ |
| 97 | Th_Store("project_name", db_get("project-name","Unnamed Fossil Project")); |
| 98 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -88,10 +88,13 @@ | |
| 88 | va_start(ap, zTitleFormat); |
| 89 | zTitle = vmprintf(zTitleFormat, ap); |
| 90 | va_end(ap); |
| 91 | |
| 92 | cgi_destination(CGI_HEADER); |
| 93 | cgi_printf("%s", |
| 94 | "<!DOCTYPE html PUBLIC \"-//W3C/DTD XHTML 1.0 Strict//EN\"" |
| 95 | " \"http://www.x3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">"); |
| 96 | |
| 97 | if( g.thTrace ) Th_Trace("BEGIN_HEADER<br />\n", -1); |
| 98 | |
| 99 | /* Generate the header up through the main menu */ |
| 100 | Th_Store("project_name", db_get("project-name","Unnamed Fossil Project")); |
| 101 |