mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-19 15:29:59 +00:00
fix: detect Takahe hashtags correctly (#2024)
This commit is contained in:
parent
5bd17d3006
commit
320ed81555
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
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
|
||||||
|
|
||||||
export function getDataUrlFromArr(arr: Uint8ClampedArray, w: number, h: number) {
|
export function getDataUrlFromArr(arr: Uint8ClampedArray, w: number, h: number) {
|
||||||
|
|
Loading…
Reference in a new issue