summaryrefslogtreecommitdiffstats
path: root/modules/markup/markdown/toc.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/markup/markdown/toc.go')
-rw-r--r--modules/markup/markdown/toc.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/markup/markdown/toc.go b/modules/markup/markdown/toc.go
index 9d11b771f7..fec45103e5 100644
--- a/modules/markup/markdown/toc.go
+++ b/modules/markup/markdown/toc.go
@@ -8,12 +8,13 @@ import (
"fmt"
"net/url"
+ "code.gitea.io/gitea/modules/markup"
"code.gitea.io/gitea/modules/translation/i18n"
"github.com/yuin/goldmark/ast"
)
-func createTOCNode(toc []Header, lang string) ast.Node {
+func createTOCNode(toc []markup.Header, lang string) ast.Node {
details := NewDetails()
summary := NewSummary()