}
var keybindingHTML = _.map(keybindings, function(keybinding) {
- return _.template("<code><%= keybinding %></code>")({keybinding: _.escape(keybinding)});
+ return _.template("<code><%= keybinding %></code>")({keybinding: _.escape(keybinding).replace(/\+/g, ' + ')});
}).join(",<br/>");
if (options.allowRebind) {
// Ugh, way too magic, how do I use an actual function here
}
var keybindingHTML = _.map(keybindings, function(keybinding) {
- return _.template("<code><%= keybinding %></code>")({keybinding: _.escape(keybinding)});
+ return _.template("<code><%= keybinding %></code>")({keybinding: _.escape(keybinding).replace(/\+/g, ' + ')});
}).join(",<br/>");
if (options.allowRebind) {
// Ugh, way too magic, how do I use an actual function here
}
var keybindingHTML = _.map(keybindings, function(keybinding) {
- return _.template("<code><%= keybinding %></code>")({keybinding: _.escape(keybinding)});
+ return _.template("<code><%= keybinding %></code>")({keybinding: _.escape(keybinding).replace(/\+/g, ' + ')});
}).join(",<br/>");
if (options.allowRebind) {
// Ugh, way too magic, how do I use an actual function here