Removing some extra HTML markup, adding a closing pre.

This commit is contained in:
Sean Reifscheider 2006-03-02 18:12:44 +00:00
parent 5c2eb31022
commit 038c86ca74
1 changed files with 2 additions and 5 deletions

View File

@ -149,11 +149,6 @@ def fixfile(inpath, input_lines, outfile):
from email.Utils import parseaddr
basename = os.path.basename(inpath)
infile = iter(input_lines)
# convert plaintext pep to minimal XHTML markup
print >> outfile, DTD
print >> outfile, '<html>'
print >> outfile, COMMENT
print >> outfile, '<head>'
# head
header = []
pep = ""
@ -224,6 +219,8 @@ def fixfile(inpath, input_lines, outfile):
print >> outfile, '<pre>'
need_pre = 0
outfile.write(line)
if not need_pre:
print >> outfile, '</pre>'
docutils_settings = None