agarzola/jQueryAutocompletePlugin — pull request #26 by alexis (2011-11-04 12:35:15+00:00)
Title: Problem with multipleSeparator == ', '

Hi, Alfonso!

I found a little bug, when the plugin used with the following settings: {multiple: true, multipleSeparator: ', '}
Basically, it doesn't play well with redundant spaces. Steps to reproduce:

1) save the following html into the root directory of the project:

2) Type "Opt", choose "Option"
3) **Type space several times**
4) Type "Ano", chose "Another Option"

Expected result: "Option, Another Option"
Actual result: "Option, ano"