joshfire/jsonform — pull request #58 by butters16 (2013-06-26 11:51:50+00:00)
Title: Added Space to jQuery Escape Selector

http://api.jquery.com/category/selectors/ indicates that space is a valid meta-
character.

The symptom of this problem was the add and remove buttons of an array did not work when the array key had spaces in it. Spaces in the div id were not getting escaped for jQuery. Even though spaces in the div id are not technically valid, this fixes the problem and the escape function now does all of the meta-characters as advertised.