From 5aa2c44487606f137a9bc524b6bf9b1349d058b9 Mon Sep 17 00:00:00 2001 From: taehoon Date: Mon, 12 Aug 2019 15:22:39 -0400 Subject: [PATCH] use hashtag class detection as fallback --- src/components/status/status.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/status/status.js b/src/components/status/status.js index 88ef9e400d..5204fa73ae 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -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) {