diff --git a/router/templateFunctions.go b/router/templateFunctions.go index 51e497ec..639fa538 100644 --- a/router/templateFunctions.go +++ b/router/templateFunctions.go @@ -70,4 +70,7 @@ var FuncMap = template.FuncMap{ "HasAdmin": userPermission.HasAdmin, "GetRole": userPermission.GetRole, "IsFollower": userPermission.IsFollower, + "NoEncode": func(str string) template.HTML { + return template.HTML(str) + }, }