use hashtag class detection as fallback

This commit is contained in:
taehoon 2019-08-12 15:22:39 -04:00
parent 5e99bad417
commit 5aa2c44487

View File

@ -335,7 +335,7 @@ const Status = {
return
}
}
if (target.rel === 'tag') {
if (target.rel === 'tag' || target.className.match(/hashtag/)) {
// Extract tag name from link url
const tag = extractTagFromUrl(target.href)
if (tag) {