Merge pull request #31 from yosssi/fix-toc-footer

Remove the unnecessary line break of the TOC footer
This commit is contained in:
jimt 2014-05-12 17:52:26 +02:00
commit 4b70a41eb8

3
toc.go
View File

@ -62,8 +62,7 @@ func writeTOCAsset(w io.Writer, asset *Asset) error {
// writeTOCFooter writes the table of contents file footer. // writeTOCFooter writes the table of contents file footer.
func writeTOCFooter(w io.Writer) error { func writeTOCFooter(w io.Writer) error {
_, err := fmt.Fprintf(w, ` _, err := fmt.Fprintf(w, `}
}
`) `)
return err return err
} }