Browse Source

fix issue

pull/3437/head
zhoupzh 2 years ago
parent
commit
d87722f2d8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/templates/helper.go

+ 1
- 1
modules/templates/helper.go View File

@@ -471,7 +471,7 @@ func Str2html(raw string) template.HTML {
func subOne(length int) int { func subOne(length int) int {
return length - 1 return length - 1
} }
func addOne(length int64) int64 {
func addOne(length int) int {
return length + 1 return length + 1
} }
// Escape escapes a HTML string // Escape escapes a HTML string


Loading…
Cancel
Save