linter says the escapes are not needed
This commit is contained in:
@@ -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\>[^]*?\<\/nosso\>/g, '');
|
||||
else return text.replace(/\<sso\>[^]*?\<\/sso\>/g, '');
|
||||
if (app.sso) return text.replace(/<nosso>[^]*?<\/nosso>/g, '');
|
||||
else return text.replace(/<sso>[^]*?<\/sso>/g, '');
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user