Skip to content

Commit

Permalink
Update src/loader/babel.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Barbapapazes authored Feb 25, 2024
1 parent 53b7713 commit d2442b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loader/babel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ function clumpLines(lines: string[], delimiters = [" "], separator = " ") {

if (
(line && !delimiters.includes(line[0]) && clumps.at(-1)) ||
// Support for example blocks in mutliline comments (last line is an example and next line is not a tag)
// Support for example block with blank line (last line is an example and next line is not a tag)
(isExampleBlock(clumps.at(-1)) && !line.startsWith("@"))
) {
clumps[clumps.length - 1] += separator + line;
Expand Down

0 comments on commit d2442b4

Please sign in to comment.