Remove the unnecessary line break of the TOC footer
This commit is contained in:
parent
8abc1cae37
commit
ff2ab748eb
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