rel also accepts list, update rel detection logic

このコミットが含まれているのは:
taehoon 2019-08-13 13:11:37 -04:00
コミット 9229f28edb
1個のファイルの変更1行の追加1行の削除

ファイルの表示

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