Merge pull request #31 from yosssi/fix-toc-footer
Remove the unnecessary line break of the TOC footer
This commit is contained in:
commit
4b70a41eb8
3
toc.go
3
toc.go
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user