Skip to content

Commit

Permalink
added another suffix but mainly for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
lkenner committed Nov 22, 2024
1 parent 0356998 commit 6a26a70
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified source/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion source/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ <h3>Similar Channels</h3>
name = name.replace(/\(.*?\)/g, '');
name = name.replace(/[^\w\s]/g, '');

var suffixes = ['HD', 'RAW', 'LOW BIT', 'AMZ', 'ᴴᴰ', 'ᴿᴬᵂ', 'ᵃᵐᶻ', '◉'];
var suffixes = ['HD', '4K', 'RAW', 'LOW BIT', 'AMZ', 'ᴴᴰ', 'ᴿᴬᵂ', 'ᵃᵐᶻ', '◉'];
suffixes.forEach(function(suffix) {
var regex = new RegExp('\\b' + suffix + '\\b', 'g');
name = name.replace(regex, '');
Expand Down

0 comments on commit 6a26a70

Please sign in to comment.