adobe/brackets — pull request #9873 by TeaSeaLancs (2014-11-07 23:43:11+00:00)
Title: [Fix] IDs for context menu elements don't need escaping for attributes

See issue https://github.com/adobe/brackets/issues/9863, when creating a context menu element, when setting the ID attribute of the menu element, you don't need to pass it through StringUtils.jQueryIdEscape, that's just for escaping selectors.

The fix also changes it so that the ID is set after creation using the .attr() command, which should prevent any escaping issues.