1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

fix: Add str2html on DisplayName of Org. (#1091)

This commit is contained in:
Bo-Yi Wu
2017-03-01 12:02:19 +08:00
committed by Lunny Xiao
parent db6777d369
commit 19bc2b10ae
5 changed files with 5 additions and 5 deletions

View File

@@ -18,7 +18,7 @@
</div>
<div class="field {{if .Err_FullName}}error{{end}}">
<label for="full_name">{{.i18n.Tr "org.org_full_name_holder"}}</label>
<input id="full_name" name="full_name" value="{{.Org.FullName}}">
<input id="full_name" name="full_name" value="{{.Org.FullName | Str2html}}">
</div>
<div class="field {{if .Err_Description}}error{{end}}">
<label for="description">{{$.i18n.Tr "org.org_desc"}}</label>