diff --git a/public/scripts/macros.js b/public/scripts/macros.js index f89197d3f..74c89b715 100644 --- a/public/scripts/macros.js +++ b/public/scripts/macros.js @@ -283,6 +283,7 @@ export function evaluateMacros(content, env) { content = replaceVariableMacros(content); content = content.replace(/{{newline}}/gi, '\n'); content = content.replace(/\n*{{trim}}\n*/gi, ''); + content = content.replace(/{{noop}}/gi, ''); content = content.replace(/{{input}}/gi, () => String($('#send_textarea').val())); // Substitute passed-in variables diff --git a/public/scripts/templates/macros.html b/public/scripts/templates/macros.html index 46336c083..dbb50db80 100644 --- a/public/scripts/templates/macros.html +++ b/public/scripts/templates/macros.html @@ -5,6 +5,7 @@