Commit 77045bcb authored by Guido van Rossum's avatar Guido van Rossum

Don't output the xml declaration and the trailing newline; these will

be taken care of by the DefaultHandler that I'm adding to TALParser.
parent 648f151c
...@@ -133,10 +133,7 @@ class TALInterpreter: ...@@ -133,10 +133,7 @@ class TALInterpreter:
self.endsep = " />" self.endsep = " />"
else: else:
self.endsep = "/>" self.endsep = "/>"
if not self.html:
self.stream_write('<?xml version="1.0" ?>\n')
self.interpret(self.program) self.interpret(self.program)
self.stream_write("\n")
col = 0 col = 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment