diff options
| author | Greg <supahgreg@users.noreply.github.com> | 2025-10-10 19:35:33 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-10 19:35:33 -0500 |
| commit | 92493059da37b3cbd7040f786b1129571e3893cc (patch) | |
| tree | ab8964c558a080362f9c0e6af09edaef2bb13764 /js/common.js | |
| parent | 80668d4fd818d2f2876b0d505a034865681ee485 (diff) | |
| parent | bb08b0acd5dbdfba068fad5332ddf51b485fc477 (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-x | js/common.js | 4 |
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, |