Skip to content

Commit

Permalink
fix: Re-enable user card hover over mentions in posts (#1745)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbud committed Apr 23, 2023
1 parent 94d22fd commit 85ac040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composables/misc.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { mastodon } from 'masto'

export const UserLinkRE = /^https?:\/\/([^/]+)\/@([^/]+)$/
export const UserLinkRE = /^(?:https:\/)?\/([^/]+)\/@([^/]+)$/
export const TagLinkRE = /^https?:\/\/([^/]+)\/tags\/([^/]+)$/
export const HTMLTagRE = /<[^>]+>/g

Expand Down

0 comments on commit 85ac040

Please sign in to comment.