Skip to content

Commit fa93857

Browse files
JulienTanttechknowlogick
authored andcommitted
allow WIP marker to contains < or > (#4709)
1 parent a6cdda1 commit fa93857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/issue/new_form.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<div class="field">
1616
<input name="title" id="issue_title" placeholder="{{.i18n.Tr "repo.milestones.title"}}" value="{{.title}}" tabindex="3" autofocus required>
1717
{{if .PageIsComparePull}}
18-
<span class="title_wip_desc">{{.i18n.Tr "repo.pulls.title_wip_desc" (index .PullRequestWorkInProgressPrefixes 0) | Safe}}</span>
18+
<span class="title_wip_desc">{{.i18n.Tr "repo.pulls.title_wip_desc" (index .PullRequestWorkInProgressPrefixes 0| Escape) | Safe}}</span>
1919
{{end}}
2020
</div>
2121
{{template "repo/issue/comment_tab" .}}

0 commit comments

Comments
 (0)