From f05b2555117b631eba0ec55fc1ac6d4c9abb8605 Mon Sep 17 00:00:00 2001 From: f0x52 Date: Tue, 13 Jul 2021 16:05:03 +0200 Subject: Noescape (#88) * disable html escaping for short description * provide noescape function for templates * move template functions before template loading * go fmt * linter fixes --- web/template/index.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/template') diff --git a/web/template/index.tmpl b/web/template/index.tmpl index ba48e92ec..de84d430f 100644 --- a/web/template/index.tmpl +++ b/web/template/index.tmpl @@ -9,7 +9,7 @@

This is the default landing page, you can edit it from ./web/template/index.tmpl

- {{.instance.ShortDescription}} + {{.instance.ShortDescription |noescape}}

-- cgit v1.3