We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef0f26e commit 21cf5aeCopy full SHA for 21cf5ae
src/lib/converter/comments/parser.ts
@@ -217,7 +217,10 @@ export function parseCommentString(
217
if (firstBlock.text.startsWith(`---${lineBreak}`)) {
218
const end = firstBlock.text.indexOf(`${lineBreak}---${lineBreak}`);
219
if (end !== -1) {
220
- const yamlText = firstBlock.text.slice(`---${lineBreak}`.length, end);
+ const yamlText = firstBlock.text.slice(
221
+ `---${lineBreak}`.length,
222
+ end,
223
+ );
224
firstBlock.text = firstBlock.text
225
.slice(end + `${lineBreak}---${lineBreak}`.length)
226
.trimStart();
0 commit comments