summaryrefslogtreecommitdiffstats
path: root/modules/svg/svg.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/svg/svg.go')
-rw-r--r--modules/svg/svg.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/svg/svg.go b/modules/svg/svg.go
index 6db5c7109b..0e2f6a0034 100644
--- a/modules/svg/svg.go
+++ b/modules/svg/svg.go
@@ -49,7 +49,7 @@ func Init() error {
}
// RenderHTML renders icons - arguments icon name (string), size (int), class (string)
-func RenderHTML(icon string, others ...interface{}) template.HTML {
+func RenderHTML(icon string, others ...any) template.HTML {
size, class := html.ParseSizeAndClass(defaultSize, "", others...)
if svgStr, ok := SVGs[icon]; ok {