Browse Source

wiki: handle '#' in edit page (#3767)

pull/4129/head
Unknwon 8 years ago
parent
commit
32a868d431
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
  1. 2
      gogs.go
  2. 2
      templates/.VERSION
  3. 2
      templates/repo/wiki/new.tmpl

2
gogs.go

@ -16,7 +16,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
const APP_VER = "0.9.147.0214"
const APP_VER = "0.9.148.0215"
func init() {
setting.AppVer = APP_VER

2
templates/.VERSION

@ -1 +1 @@
0.9.147.0214
0.9.148.0215

2
templates/repo/wiki/new.tmpl

@ -11,7 +11,7 @@
</div>
{{end}}
</div>
<form class="ui form" action="{{.Link}}" method="post">
<form class="ui form" action="{{EscapePound .Link}}" method="post">
{{.CsrfTokenHtml}}
<input type="hidden" name="old_title" value="{{.old_title}}">
<div class="field {{if .Err_Title}}error{{end}}">

Loading…
Cancel
Save