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

This commit is contained in:
Julien Tant 2018-08-19 21:00:10 +02:00 committed by techknowlogick
parent a6cdda115d
commit fa93857117

View file

@ -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" .}}