From 5c31bd54e41ac0801d642e4fced9e93b9e6487be Mon Sep 17 00:00:00 2001 From: Kazuhito Yokoi Date: Thu, 6 May 2021 20:09:35 +0900 Subject: [PATCH] Fix incorrect shortcut keys in info tips --- .../node_modules/@node-red/editor-client/src/js/ui/tab-info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/tab-info.js b/packages/node_modules/@node-red/editor-client/src/js/ui/tab-info.js index bf03d2146..9f97aa7b4 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/tab-info.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/tab-info.js @@ -477,7 +477,7 @@ RED.sidebar.info = (function() { return; } } - while ((m=/(\[(.*?)\])/.exec(tip))) { + while ((m=/(\[([a-z]*?)\])/.exec(tip))) { tip = tip.replace(m[1],RED.keyboard.formatKey(m[2])); } tipBox.html(tip).fadeIn(200);