Use standard HTML entities for the arrows displayed on the keyboard shortcut list

This commit is contained in:
Zoee Silcock 2017-02-05 11:47:45 +01:00
parent 08b97cb6f0
commit f30e16386d

View File

@ -152,10 +152,10 @@
key = key.replace('ctrl', 'cmd');
key = key.replace('alt', 'option');
}
key = key.replace(/left/i, '←');
key = key.replace(/up/i, '↑');
key = key.replace(/right/i, '→');
key = key.replace(/down/i, '↓');
key = key.replace(/left/i, '←');
key = key.replace(/up/i, '↑');
key = key.replace(/right/i, '→');
key = key.replace(/down/i, '↓');
key = key.replace(/>/g, '>');
key = key.replace(/</g, '&lt;');
// add spaces around '+' delimiters