0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-24 20:52:52 +01:00

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>
This commit is contained in:
haytona 2017-12-12 12:02:55 +11:00 committed by Lauris BH
parent 4b5197beb4
commit f27a6461e3

View file

@ -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}}