Commit 83adcf19 authored by Phil Hughes's avatar Phil Hughes

Escapes label title in filters

Fixes #15522
parent d5398e96
...@@ -223,7 +223,7 @@ class @LabelsSelect ...@@ -223,7 +223,7 @@ class @LabelsSelect
fieldName: $dropdown.data('field-name') fieldName: $dropdown.data('field-name')
id: (label) -> id: (label) ->
if $dropdown.hasClass("js-filter-submit") and not label.isAny? if $dropdown.hasClass("js-filter-submit") and not label.isAny?
label.title _.escape label.title
else else
label.id label.id
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment