Browse Source

templates/wiki: fix emoji rendering (#4869)

Unknwon 6 years ago
parent
commit
1f9e21ebd5
3 changed files with 4 additions and 4 deletions
  1. 1 1
      gogs.go
  2. 1 1
      templates/.VERSION
  3. 2 2
      templates/repo/wiki/view.tmpl

+ 1 - 1
gogs.go

@@ -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

+ 1 - 1
templates/.VERSION

@@ -1 +1 @@
-0.11.69.1024
+0.11.70.1126

+ 2 - 2
templates/repo/wiki/view.tmpl

@@ -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>