Commit 438f4159 authored by Jacob Schatz's avatar Jacob Schatz Committed by Yorick Peterse

Merge branch 'escape-label-title' into 'master'

Correctly escapes label title in filters

Fixes #15522

See merge request !3880
parent 777a8b2a
...@@ -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