summaryrefslogtreecommitdiffstats
path: root/templates/org/settings
diff options
context:
space:
mode:
authorBo-Yi Wu <appleboy.tw@gmail.com>2017-03-01 12:02:19 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2017-03-01 12:02:19 +0800
commit19bc2b10aeb4b7372f6654aebc2942dc94389fea (patch)
treee78c40205cc82432725f15f8a33274921fa4658e /templates/org/settings
parentdb6777d3697daae7d093a585968fce5f91307faa (diff)
downloadgitea-19bc2b10aeb4b7372f6654aebc2942dc94389fea.tar.gz
gitea-19bc2b10aeb4b7372f6654aebc2942dc94389fea.zip
fix: Add str2html on DisplayName of Org. (#1091)
Diffstat (limited to 'templates/org/settings')
-rw-r--r--templates/org/settings/options.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/org/settings/options.tmpl b/templates/org/settings/options.tmpl
index 8041365434..72c191e54d 100644
--- a/templates/org/settings/options.tmpl
+++ b/templates/org/settings/options.tmpl
@@ -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>