diff --git a/gno.land/pkg/gnoweb/components/template.go b/gno.land/pkg/gnoweb/components/template.go index f976dde01c0..b4cac9db8fd 100644 --- a/gno.land/pkg/gnoweb/components/template.go +++ b/gno.land/pkg/gnoweb/components/template.go @@ -16,14 +16,6 @@ var funcMap = template.FuncMap{} var tmpl = template.New("web") func registerCommonFuncs(funcs template.FuncMap) { - // NOTE: this method does NOT escape HTML, use with caution - funcs["noescape_string"] = func(in string) template.HTML { - return template.HTML(in) //nolint:gosec - } - // NOTE: this method does NOT escape HTML, use with caution - funcs["noescape_bytes"] = func(in []byte) template.HTML { - return template.HTML(in) //nolint:gosec - } // NOTE: this method does NOT escape HTML, use with caution // Render Component element into raw html element funcs["render"] = func(comp Component) (template.HTML, error) { diff --git a/gno.land/pkg/gnoweb/components/ui/toc.html b/gno.land/pkg/gnoweb/components/ui/toc.html index 40c72d21b1a..6f700579ddf 100644 --- a/gno.land/pkg/gnoweb/components/ui/toc.html +++ b/gno.land/pkg/gnoweb/components/ui/toc.html @@ -22,7 +22,7 @@ {{ define "ui/toc_realm" }}