Skip to content

Commit cb9d58e

Browse files
committed
filterの適用が不完全だった
1 parent b04d815 commit cb9d58e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

browser/websocket/getCodeBlocks.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ export const getCodeBlocks = async (
6666
if (currentCode.isCodeBlock) {
6767
const body = extractFromCodeBody(line.text, currentCode.indent);
6868
if (body === null) {
69-
codeBlocks[codeBlocks.length - 1].nextLine = line;
69+
if (currentCode.isCollect) {
70+
codeBlocks[codeBlocks.length - 1].nextLine = line;
71+
}
7072
currentCode.isCodeBlock = false;
7173
continue;
7274
}

0 commit comments

Comments
 (0)