diff options
author | Julien Tant <julien@craftyx.fr> | 2018-08-19 21:00:10 +0200 |
---|---|---|
committer | techknowlogick <techknowlogick@users.noreply.github.com> | 2018-08-19 15:00:10 -0400 |
commit | fa93857117307a54e6e3feb4a80de6d7d19ccbed (patch) | |
tree | 5928983bf53b2eacdc8b95ab3c34160a519c5036 /templates/repo/issue/new_form.tmpl | |
parent | a6cdda115d6fecabea9406c3dd630087be49f437 (diff) | |
download | gitea-fa93857117307a54e6e3feb4a80de6d7d19ccbed.tar.gz gitea-fa93857117307a54e6e3feb4a80de6d7d19ccbed.zip |
allow WIP marker to contains < or > (#4709)
Diffstat (limited to 'templates/repo/issue/new_form.tmpl')
-rw-r--r-- | templates/repo/issue/new_form.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/new_form.tmpl b/templates/repo/issue/new_form.tmpl index 943a9b2467..f05ea333ba 100644 --- a/templates/repo/issue/new_form.tmpl +++ b/templates/repo/issue/new_form.tmpl @@ -15,7 +15,7 @@ <div class="field"> <input name="title" id="issue_title" placeholder="{{.i18n.Tr "repo.milestones.title"}}" value="{{.title}}" tabindex="3" autofocus required> {{if .PageIsComparePull}} - <span class="title_wip_desc">{{.i18n.Tr "repo.pulls.title_wip_desc" (index .PullRequestWorkInProgressPrefixes 0) | Safe}}</span> + <span class="title_wip_desc">{{.i18n.Tr "repo.pulls.title_wip_desc" (index .PullRequestWorkInProgressPrefixes 0| Escape) | Safe}}</span> {{end}} </div> {{template "repo/issue/comment_tab" .}} |