1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 13:29:12 -05: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}}