auiSelect2 & spaces trimming

Hi colleagues.
Jira allows to create user groups with name ’ group ', no problem over rest etc.
I have problem with group multiselection field using auiSelect2 for group ends with space

Issue in aui-experimental.js: we can found function that trims spaces

  • Splits the string into an array of values, trimming each value.
    function splitVal(string, separator)
    … val[i] = $.trim(val[i]);…

Also I have figured out issue with names ‘group,group’ (comma inside)

Is it known issue for aui and how we can manage it? (recreate group without spaces looks boring)