summaryrefslogtreecommitdiff
path: root/web/template/index.tmpl
diff options
context:
space:
mode:
authorLibravatar f0x52 <f@0x52.eu>2021-07-13 16:05:03 +0200
committerLibravatar GitHub <noreply@github.com>2021-07-13 16:05:03 +0200
commitf05b2555117b631eba0ec55fc1ac6d4c9abb8605 (patch)
tree1dbe0d966226bec263a93f8ca59a9ce555abef5e /web/template/index.tmpl
parentsanitize html for statuses + instance (#97) (diff)
downloadgotosocial-f05b2555117b631eba0ec55fc1ac6d4c9abb8605.tar.xz
Noescape (#88)
* disable html escaping for short description * provide noescape function for templates * move template functions before template loading * go fmt * linter fixes
Diffstat (limited to 'web/template/index.tmpl')
-rw-r--r--web/template/index.tmpl2
1 files changed, 1 insertions, 1 deletions
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 @@
<h3>This is the default landing page, you can edit it from <span class="accent">./web/template/index.tmpl</span></h1>
<p>
- {{.instance.ShortDescription}}
+ {{.instance.ShortDescription |noescape}}
</p>
</section>