diff --git a/web/js/textbox.js b/web/js/textbox.js index bfce349..a79e697 100644 --- a/web/js/textbox.js +++ b/web/js/textbox.js @@ -228,7 +228,7 @@ app.registerExtension({ let trimmedTag = tag.trim(); // Remove HTML tags - trimmedTag = trimmedTag.replaceAll(/<[^>]*>/g, ''); + trimmedTag = trimmedTag.replace(/<|>/g, ""); // Remove the first character if it is a parenthesis if (trimmedTag.startsWith('(')) {