diff options
author | David Robillard <d@drobilla.net> | 2009-04-19 01:49:31 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-04-19 01:49:31 +0000 |
commit | 7025242227bc03b2e3fd70280ba2686a307252f9 (patch) | |
tree | 853df8916929d355d5c792ced56d18ca9c29e21f /highlight.py | |
parent | 0401924f82e09cbadba4abffe43963cb362cc29a (diff) | |
download | resp-7025242227bc03b2e3fd70280ba2686a307252f9.tar.gz resp-7025242227bc03b2e3fd70280ba2686a307252f9.tar.bz2 resp-7025242227bc03b2e3fd70280ba2686a307252f9.zip |
Valid XHTML 1.0.
git-svn-id: http://svn.drobilla.net/resp/tuplr@115 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'highlight.py')
-rwxr-xr-x | highlight.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/highlight.py b/highlight.py index 14bb9a8..8ed2376 100755 --- a/highlight.py +++ b/highlight.py @@ -95,7 +95,8 @@ text = infile.read() infile.close() outfile = open(sys.argv[2], 'w') -print >>outfile, '''<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" +print >>outfile, '''<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <head> |