From 91d4d95cb483b5de6703bd0f1e1d27877c93d73d Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Sat, 8 Aug 2020 17:58:48 -0700 Subject: [PATCH] linter says the escapes are not needed --- src/js/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/index.js b/src/js/index.js index d514b7a48..76052a173 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -392,8 +392,8 @@ app.filter('postInstallMessage', function () { if (!app) return text; // [^] matches even newlines. '?' makes it non-greedy - if (app.sso) return text.replace(/\[^]*?\<\/nosso\>/g, ''); - else return text.replace(/\[^]*?\<\/sso\>/g, ''); + if (app.sso) return text.replace(/[^]*?<\/nosso>/g, ''); + else return text.replace(/[^]*?<\/sso>/g, ''); }; });