continue;
}
// Potential closing fence: must match fence char and have at least the same length,
// and only whitespace is allowed after the fence.
if (fencedCodeBlockFenceChar === fenceChar && fenceLength >= fencedCodeBlockFenceLength && /^\s*$/.test(restOfLine)) {
fencedCodeBlockFenceChar = undefined;
fencedCodeBlockFenceLength = 0;
lineStartOffset += line.length;
continue;
}
}