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, ''); }; });