Commit 0ffcc490 authored by davidhk's avatar davidhk Committed by matsbla
Browse files

Issue #3266030 by davidhk: Brackets in label prevent save

parent 40f04545
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@
                // Prevent empty options being passed to the results.
                if (item.label) {
                  return {
                    id: /\(([^)]+)\)/.exec(item.value)[1],
                    id: /\(([^)]+)\)"?$/.exec(item.value)[1],
                    text: decodeHtmlEntities(item.label)
                  };
                }