mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-23 21:53:09 +02:00
@@ -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>")
|
||||
|
@@ -152,5 +152,4 @@ func TestTocMissingParent(t *testing.T) {
|
||||
</li>
|
||||
</ol>
|
||||
</nav>`, qt.Commentf(got))
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user