mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-23 23:14:32 +02:00
fix: remove str2html from org full name (#1360)
* fix: remove str2html for security issue. * fix: update
This commit is contained in:
1 parent
e7493e953f
commit
0cee52e0d3
5 files changed
+5
-5
No files matched your search
@@ -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 | Str2html}}">
|
||||
<input id="full_name" name="full_name" value="{{.Org.FullName}}">
|
||||
</div>
|
||||
<div class="field {{if .Err_Description}}error{{end}}">
|
||||
<label for="description">{{$.i18n.Tr "org.org_desc"}}</label>
|
||||
|
||||
Reference in new issue
Block a user