summaryrefslogtreecommitdiffstats
path: root/markup/tableofcontents/tableofcontents.go
diff options
context:
space:
mode:
Diffstat (limited to 'markup/tableofcontents/tableofcontents.go')
-rw-r--r--markup/tableofcontents/tableofcontents.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/markup/tableofcontents/tableofcontents.go b/markup/tableofcontents/tableofcontents.go
index 9f1124233..b7e630d6f 100644
--- a/markup/tableofcontents/tableofcontents.go
+++ b/markup/tableofcontents/tableofcontents.go
@@ -131,8 +131,8 @@ func (b *tocBuilder) writeHeaders(level, indent int, h Headers) {
b.s.WriteString("\n")
b.indent(indent)
}
-
}
+
func (b *tocBuilder) writeHeader(level, indent int, h Header) {
b.indent(indent)
b.s.WriteString("<li>")