fix: Re-enable user card hover over mentions in posts (#1745)
parent
94d22fd488
commit
85ac040c2f
|
@ -1,6 +1,6 @@
|
||||||
import type { mastodon } from 'masto'
|
import type { mastodon } from 'masto'
|
||||||
|
|
||||||
export const UserLinkRE = /^https?:\/\/([^/]+)\/@([^/]+)$/
|
export const UserLinkRE = /^(?:https:\/)?\/([^/]+)\/@([^/]+)$/
|
||||||
export const TagLinkRE = /^https?:\/\/([^/]+)\/tags\/([^/]+)$/
|
export const TagLinkRE = /^https?:\/\/([^/]+)\/tags\/([^/]+)$/
|
||||||
export const HTMLTagRE = /<[^>]+>/g
|
export const HTMLTagRE = /<[^>]+>/g
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue