fix: detect Takahe hashtags correctly (#2024)
parent
5bd17d3006
commit
320ed81555
|
@ -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 New Issue