From d87722f2d872a79cb2f62c7f3dc765938e487a8e Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Thu, 22 Dec 2022 10:29:30 +0800 Subject: [PATCH] fix issue --- modules/templates/helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/templates/helper.go b/modules/templates/helper.go index 441c3d558..12e14b874 100755 --- a/modules/templates/helper.go +++ b/modules/templates/helper.go @@ -471,7 +471,7 @@ func Str2html(raw string) template.HTML { func subOne(length int) int { return length - 1 } -func addOne(length int64) int64 { +func addOne(length int) int { return length + 1 } // Escape escapes a HTML string