diff --git a/modules/templates/helper.go b/modules/templates/helper.go index 9c13272c0..441c3d558 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) int { +func addOne(length int64) int64 { return length + 1 } // Escape escapes a HTML string