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 41a3612 commit b7f84fcCopy full SHA for b7f84fc
extensions/ql-vscode/src/variant-analysis/view-autofixes.ts
@@ -796,7 +796,8 @@ async function formatWithMarkdown(
796
"```\n\n</details>\n\n ### Notes\n - notes placeholder\n\n";
797
798
// Format the content with Markdown
799
- const formattedContent = `## ${header}\n\n${frontFormatting}${content}${backFormatting}`;
+ // Replace ``` in the content with \``` to avoid breaking the Markdown code block
800
+ const formattedContent = `## ${header}\n\n${frontFormatting}${content.replaceAll("```", "\\```")}${backFormatting}`;
801
802
// Write the formatted content back to the file
803
await writeFile(inputFile, formattedContent);
0 commit comments