Fix thread watcher highlighting when quoted on boards with unusual characters in name (e.g. some lainchan boards).

This commit is contained in:
ccd0 2019-03-01 10:13:21 -08:00
parent b190042d1a
commit 4ca1b1450c

View File

@ -274,7 +274,7 @@ ThreadWatcher =
while match = regexp.exec postObj.com
if QuoteYou.db.get {
siteID
boardID: match[1] or boardID
boardID: if match[1] then encodeURIComponent(match[1]) else boardID
threadID: match[2] or threadID
postID: match[3] or match[2] or threadID
}