aboutsummaryrefslogtreecommitdiffstats
path: root/modules/templates/util_string.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/templates/util_string.go')
-rw-r--r--modules/templates/util_string.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/templates/util_string.go b/modules/templates/util_string.go
index 479b755da1..2ae27d0833 100644
--- a/modules/templates/util_string.go
+++ b/modules/templates/util_string.go
@@ -53,8 +53,8 @@ func (su *StringUtils) Cut(s, sep string) []any {
return []any{before, after, found}
}
-func (su *StringUtils) EllipsisString(s string, max int) string {
- return base.EllipsisString(s, max)
+func (su *StringUtils) EllipsisString(s string, maxLength int) string {
+ return base.EllipsisString(s, maxLength)
}
func (su *StringUtils) ToUpper(s string) string {