Skip to content

Commit

Permalink
Fix: label name escaping within HTML attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
dabico committed Apr 4, 2024
1 parent 47a17fd commit e8847b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/label.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
id="merge-modal-form-source-name"
class="form-select mb-2"
>
<option value="<%- label.name %>" selected>
<option value="<%= label.name %>" selected>
<%= label.name %>
</option>
</select>
Expand All @@ -215,7 +215,7 @@
>
<option selected disabled value>Choose a label...</option>
<% labels.forEach((label) => { %>
<option value="<%- label.name %>">
<option value="<%= label.name %>">
<%= label.name %>
</option>
<% }); %>
Expand Down

0 comments on commit e8847b5

Please sign in to comment.