aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/wiki
diff options
context:
space:
mode:
authorhaytona <haytona@users.noreply.github.com>2017-12-12 12:02:55 +1100
committerLauris BH <lauris@nix.lv>2017-12-12 03:02:55 +0200
commitf27a6461e3247bdc1eae3be04b7718bc9b97419b (patch)
tree4929d3ea991ceb804fac4f2bd4413c5a9de3995a /templates/repo/wiki
parent4b5197beb4b62baf93b4ae888557356d302f06e5 (diff)
downloadgitea-f27a6461e3247bdc1eae3be04b7718bc9b97419b.tar.gz
gitea-f27a6461e3247bdc1eae3be04b7718bc9b97419b.zip
Enable emoji for wiki view (#3158)
Enable emoji for wiki page content. It is enabled in the edit preview so the view should match. Signed-off-by: Hamish Carpenter <hamish@hamishcarpenter.com>
Diffstat (limited to 'templates/repo/wiki')
-rw-r--r--templates/repo/wiki/view.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/wiki/view.tmpl b/templates/repo/wiki/view.tmpl
index aa58ab36eb..2e604f1b71 100644
--- a/templates/repo/wiki/view.tmpl
+++ b/templates/repo/wiki/view.tmpl
@@ -73,7 +73,7 @@
</div>
{{end}}
<div class="ui {{if .sidebarPresent}}grid equal width{{end}}" style="margin-top: 1rem;">
- <div class="ui {{if .sidebarPresent}}eleven wide column{{end}} segment markdown">
+ <div class="ui {{if .sidebarPresent}}eleven wide column{{end}} segment markdown has-emoji">
{{.content | Str2html}}
</div>
{{if .sidebarPresent}}