Updated dependencies and fixed some code scanning findings

This commit is contained in:
n1474335 2023-03-13 17:51:25 +00:00
parent 5d3c66f615
commit 61501a7cbc
6 changed files with 69 additions and 66 deletions

View file

@ -827,7 +827,7 @@ class Utils {
htmlStr = recursiveRemove(/<script[^>]*>.*?<\/script[^>]*>/gi, htmlStr);
htmlStr = recursiveRemove(/<style[^>]*>.*?<\/style[^>]*>/gi, htmlStr);
}
return htmlStr.replace(/<[^>]+>/g, "");
return recursiveRemove(/<[^>]+>/g, htmlStr);
}