Skip to content

Commit 7754abf

Browse files
committed
Fix regex
1 parent bf6eadb commit 7754abf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/render/embed.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function extractFragmentContent(text, fragment, fullLine) {
1919
if (!fragment) {
2020
return text;
2121
}
22-
let fragmentRegex = `###|\\/\\/\\/)\\s*\\[${fragment}\\]`;
22+
let fragmentRegex = `###|\\/\\/\\/\\s*\\[${fragment}\\]`;
2323
const contentRegex = `[\\s\\S]*?`;
2424
if (fullLine) {
2525
// Match full line for fragment

0 commit comments

Comments
 (0)