fix: prioritize mention and embedded event parsing

This commit is contained in:
codytseng
2025-11-09 16:32:52 +08:00
parent 6202acf8fa
commit 7139211fa1
3 changed files with 5 additions and 5 deletions

View File

@@ -24,9 +24,9 @@ export default function Content({
const { t } = useTranslation()
const nodes = useMemo(() => {
return parseContent(content, [
EmbeddedUrlParser,
EmbeddedEventParser,
EmbeddedMentionParser,
EmbeddedUrlParser,
EmbeddedEmojiParser
])
}, [content])