[Commits] (heikki) Having doctype in a file that is pointed to by a symlink seems to cause Mozilla to not recognize it as an HTML file, so removing for now.

commits at osafoundation.org commits at osafoundation.org
Wed Sep 8 17:31:16 PDT 2004


Commit by: heikki
Modified files:
hardhat/tinderbox.py 1.19 1.20

Log message:
Having doctype in a file that is pointed to by a symlink seems to cause Mozilla to not recognize it as an HTML file, so removing for now.

ViewCVS links:
http://cvs.osafoundation.org/index.cgi/hardhat/tinderbox.py.diff?r1=text&tr1=1.19&r2=text&tr2=1.20

Index: hardhat/tinderbox.py
diff -u hardhat/tinderbox.py:1.19 hardhat/tinderbox.py:1.20
--- hardhat/tinderbox.py:1.19	Wed Sep  8 16:37:47 2004
+++ hardhat/tinderbox.py	Wed Sep  8 17:31:14 2004
@@ -299,9 +299,7 @@
 
     newPrefix = outputDir + os.sep + newDirName + os.sep
 
-    head1 = '<!DOCTYPE html ' +\
-            'PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">\n'+\
-            '<html><head>\n<META HTTP-EQUIV="Pragma" CONTENT="no-cache">\n' +\
+    head1 = '<html><head>\n<META HTTP-EQUIV="Pragma" CONTENT="no-cache">\n' +\
             '<title>Download Chandler ' + buildName + ' ' + newDirName +\
             '</title>\n' +\
             '<link rel="Stylesheet" ' +\



More information about the Commits mailing list