templates/wiki: fix emoji rendering (#4869)

pull/5537/head
Unknwon 2018-11-26 07:02:21 -05:00
parent a91d9054ad
commit 1f9e21ebd5
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
3 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ import (
"github.com/gogs/gogs/pkg/setting"
)
const APP_VER = "0.11.69.1024"
const APP_VER = "0.11.70.1126"
func init() {
setting.AppVer = APP_VER

View File

@ -1 +1 @@
0.11.69.1024
0.11.70.1126

View File

@ -48,7 +48,7 @@
</div>
</div>
<div class="ui dividing header">
{{$title}}
<span class="has-emoji">{{$title}}</span>
{{if and .IsRepositoryWriter (not .Repository.IsMirror)}}
<div class="ui right">
<a class="ui small button" href="{{.RepoLink}}/wiki/{{EscapePound .PageURL}}/_edit">{{.i18n.Tr "repo.wiki.edit_page_button"}}</a>
@ -61,7 +61,7 @@
{{.i18n.Tr "repo.wiki.last_commit_info" .Author.Name $timeSince | Safe}}
</div>
</div>
<div class="markdown">
<div class="markdown has-emoji">
{{.content | Str2html}}
</div>
</div>