Merge branch '293' into 'develop'
Detect hashtag using rel instead of class Closes #293 See merge request pleroma/pleroma-fe!908
This commit is contained in:
commit
877a71fa41
|
@ -335,7 +335,7 @@ const Status = {
|
|||
return
|
||||
}
|
||||
}
|
||||
if (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) {
|
||||
|
|
Loading…
Reference in New Issue