Skip to content

Commit b751008

Browse files
authored
Blacklist: Fix processing failure on trending tags (#2121)
2 parents d2a4a17 + 06097a8 commit b751008

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Extensions/blacklist.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//* TITLE Blacklist **//
2-
//* VERSION 3.1.8 **//
2+
//* VERSION 3.1.9 **//
33
//* DESCRIPTION Clean your dash **//
44
//* DETAILS This extension allows you to block posts based on the words you specify. If a post has the text you've written in the post itself or it's tags, it will be replaced by a warning, or won't be shown on your dashboard, depending on your settings. **//
55
//* DEVELOPER new-xkit **//
@@ -554,7 +554,7 @@ XKit.extensions.blacklist = new Object({
554554
const tagSel = XKit.css_map.keyToCss('tag') || '.post_tag';
555555
if ($(this).find(tagSel).length > 0) {
556556
$(this).find(tagSel).each(function() {
557-
tag_array.push($(this).html().replace("#", "").toLowerCase());
557+
tag_array.push($(this).text().trim().replace("#", "").toLowerCase());
558558
});
559559
}
560560

0 commit comments

Comments
 (0)