output.go: make the Formatter reusable

This commit is contained in:
Michael Teichgräber 2012-09-01 00:25:33 +02:00
parent 71df3d7aa2
commit 38ff54e038

View File

@ -60,6 +60,7 @@ func (f *htmlOut) Finish() {
f.printEndnotes()
}
f.WriteByte('\n')
f.padded = 2
}
// pad - add a number of newlines, the value of the