summaryrefslogtreecommitdiff
path: root/js/common.js
diff options
context:
space:
mode:
authorGreg <supahgreg@users.noreply.github.com>2025-10-10 19:35:33 -0500
committerGitHub <noreply@github.com>2025-10-10 19:35:33 -0500
commit92493059da37b3cbd7040f786b1129571e3893cc (patch)
treeab8964c558a080362f9c0e6af09edaef2bb13764 /js/common.js
parent80668d4fd818d2f2876b0d505a034865681ee485 (diff)
parentbb08b0acd5dbdfba068fad5332ddf51b485fc477 (diff)
Merge pull request #35 from tt-rss/bugfix/code-scanning-js-findings
Address two JS code scanning findings
Diffstat (limited to 'js/common.js')
-rwxr-xr-xjs/common.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/js/common.js b/js/common.js
index 9635ab492..99cf52fa1 100755
--- a/js/common.js
+++ b/js/common.js
@@ -167,10 +167,6 @@ Array.prototype.uniq = function() {
return this.filter((v, i, a) => a.indexOf(v) === i);
};
-String.prototype.stripTags = function() {
- return this.replace(/<\w+(\s+("[^"]*"|'[^']*'|[^>])+)?(\/)?>|<\/\w+>/gi, '');
-}
-
/* exported xhr */
const xhr = {
_ts: 0,