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>
pull/3166/head
haytona 7 years ago committed by Lauris BH
parent 4b5197beb4
commit f27a6461e3
  1. 2
      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}}

Loading…
Cancel
Save