diff --git a/src/components/AnimatedMarkdown.tsx b/src/components/AnimatedMarkdown.tsx index 0d63311..863da8f 100644 --- a/src/components/AnimatedMarkdown.tsx +++ b/src/components/AnimatedMarkdown.tsx @@ -180,8 +180,17 @@ const MarkdownAnimateText: React.FC = ({ let lastIndex = 0; if (fullPatterns.length === 0) { - return [text]; - } + return [ + , + ]; + } // Use matchAll to find each match and its position for (const match of remainingText.matchAll(regex)) {