fix: Re-enable user card hover over mentions in posts (#1745)

zio/stable
Peter Budai 2023-04-23 21:40:55 +02:00 committed by GitHub
parent 94d22fd488
commit 85ac040c2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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