diff --git a/src/misc/nyaize.ts b/src/misc/nyaize.ts index 9fbfc8b500..22f90b86cd 100644 --- a/src/misc/nyaize.ts +++ b/src/misc/nyaize.ts @@ -32,7 +32,8 @@ function exclude(text: string): [string, Record] { .replace(/(https?:\/\/.*?)(?= |$)/gm, match => substitute(match)) // URL .replace(/:([a-z0-9_+-]+):/gim, match => substitute(match)) // emoji .replace(/#([^\s.,!?'"#:\/\[\]【】]+)/gm, match => substitute(match)) // hashtag - .replace(/@\w([\w-]*\w)?(?:@[\w.\-]+\w)?/gm, match => substitute(match)); // mention + .replace(/@\w([\w-]*\w)?(?:@[\w.\-]+\w)?/gm, match => substitute(match)) // mention + .replace(/^>[^\n]+/gm, match => substitute(match)); // quote return [replaced, map]; }