Skip to content

Commit 1fdd5a9

Browse files
committed
Update CalloutProcessor.astro
1 parent 90288ce commit 1fdd5a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/components/CalloutProcessor.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const CALLOUT_MARKER_RE = new RegExp(`\\[!(${CALLOUT_TYPE_PATTERN})\\]`, "i");
1111
const BLOCKQUOTE_RE = new RegExp(`<blockquote[^>]*>([\\s\\S]*?)<\\/blockquote>`, "gi");
1212
// Markdown pattern: > [!TYPE]\n> line ... (stops at first blank or non > line)
1313
const MD_CALLOUT_RE = new RegExp(
14-
`(^|\n)>\\s*\\[!(${CALLOUT_TYPE_PATTERN})\\]\\s*\n((?:>.*(?:\n|$))+)(?=\n[^>]|")?`,
14+
`(^|\n)>\\s*\\[!(${CALLOUT_TYPE_PATTERN})\\]\\s*\n((?:>.*(?:\n|$))+)(?=\n[^>]|$)?`,
1515
"gi"
1616
);
1717

0 commit comments

Comments
 (0)