summaryrefslogtreecommitdiffstats
path: root/modules/html
diff options
context:
space:
mode:
Diffstat (limited to 'modules/html')
-rw-r--r--modules/html/html.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/html/html.go b/modules/html/html.go
index 3219b939f4..6cb6b847ef 100644
--- a/modules/html/html.go
+++ b/modules/html/html.go
@@ -5,7 +5,7 @@ package html
// ParseSizeAndClass get size and class from string with default values
// If present, "others" expects the new size first and then the classes to use
-func ParseSizeAndClass(defaultSize int, defaultClass string, others ...interface{}) (int, string) {
+func ParseSizeAndClass(defaultSize int, defaultClass string, others ...any) (int, string) {
if len(others) == 0 {
return defaultSize, defaultClass
}