diff options
author | mrsdizzie <info@mrsdizzie.com> | 2020-05-01 13:58:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 20:58:45 +0300 |
commit | 4ed7d2a2bbb421e37cc0bc23a9f997e5606258ea (patch) | |
tree | 64624ce36c5a8fcffe66ce5854e39cd22d228956 /templates/repo/view_file.tmpl | |
parent | 1bdffefc052fca440b1d4b59a5e6d402f0836374 (diff) | |
download | gitea-4ed7d2a2bbb421e37cc0bc23a9f997e5606258ea.tar.gz gitea-4ed7d2a2bbb421e37cc0bc23a9f997e5606258ea.zip |
Remove last traces of has-emoji class (#11263)
Now that emojify.js has been removed, get rid of all instances of has-emoji class that was only used for that. Support for rendering shortcodes should remain in all of these places so it should still work the same.
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'templates/repo/view_file.tmpl')
-rw-r--r-- | templates/repo/view_file.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/view_file.tmpl b/templates/repo/view_file.tmpl index 1405378bd7..1216b5f40a 100644 --- a/templates/repo/view_file.tmpl +++ b/templates/repo/view_file.tmpl @@ -64,7 +64,7 @@ {{end}} </h4> <div class="ui attached table unstackable segment"> - <div class="file-view {{if .IsMarkup}}{{.MarkupType}} markdown{{else if .IsRenderedHTML}}plain-text{{else if .IsTextFile}}code-view{{end}} has-emoji"> + <div class="file-view {{if .IsMarkup}}{{.MarkupType}} markdown{{else if .IsRenderedHTML}}plain-text{{else if .IsTextFile}}code-view{{end}}"> {{if .IsMarkup}} {{if .FileContent}}{{.FileContent | Safe}}{{end}} {{else if .IsRenderedHTML}} |