]> source.dussan.org Git - gitea.git/commitdiff
Enable emoji for wiki view (#3158)
authorhaytona <haytona@users.noreply.github.com>
Tue, 12 Dec 2017 01:02:55 +0000 (12:02 +1100)
committerLauris BH <lauris@nix.lv>
Tue, 12 Dec 2017 01:02:55 +0000 (03:02 +0200)
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>
templates/repo/wiki/view.tmpl

index aa58ab36eb1da842c2a9bab9d7c5a76c4efd587c..2e604f1b712bd86ec709818ee190ac42f95aa9e5 100644 (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}}