Browse Source

allow WIP marker to contains < or > (#4709)

for-closed-social
Julien Tant 6 years ago
committed by techknowlogick
parent
commit
fa93857117
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/repo/issue/new_form.tmpl

+ 1
- 1
templates/repo/issue/new_form.tmpl View File

@ -15,7 +15,7 @@
<div class="field"> <div class="field">
<input name="title" id="issue_title" placeholder="{{.i18n.Tr "repo.milestones.title"}}" value="{{.title}}" tabindex="3" autofocus required> <input name="title" id="issue_title" placeholder="{{.i18n.Tr "repo.milestones.title"}}" value="{{.title}}" tabindex="3" autofocus required>
{{if .PageIsComparePull}} {{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}} {{end}}
</div> </div>
{{template "repo/issue/comment_tab" .}} {{template "repo/issue/comment_tab" .}}

Loading…
Cancel
Save