Browse Source

Include xml header and doctype.

Heikki Hokkanen 18 years ago
parent
commit
9781f9abc3
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      statgit

+ 4
- 1
statgit View File

586
 			os.system('gnuplot %s' % f)
586
 			os.system('gnuplot %s' % f)
587
 
587
 
588
 	def printHeader(self, f):
588
 	def printHeader(self, f):
589
-		f.write("""<html>
589
+		f.write(
590
+"""<?xml version="1.0" encoding="utf-8"?>
591
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
592
+<html>
590
 <head>
593
 <head>
591
 	<title>StatGit</title>
594
 	<title>StatGit</title>
592
 	<link rel="stylesheet" href="statgit.css" type="text/css" />
595
 	<link rel="stylesheet" href="statgit.css" type="text/css" />