Skip to content

Commit

Permalink
fix typo in codeblock markdown output
Browse files Browse the repository at this point in the history
  • Loading branch information
ajbura committed Oct 31, 2023
1 parent 687ad8d commit 1db0a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/plugins/markdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ const CodeBlockRule: BlockMDRule = {
html: (match) => {
const [, g1, g2] = match;
const classNameAtt = g1 ? ` class="language-${g1}"` : '';
return `<pre data-md="${CODEBLOCK_MD_1}"><code${classNameAtt}>${g2}</code$></pre>`;
return `<pre data-md="${CODEBLOCK_MD_1}"><code${classNameAtt}>${g2}</code></pre>`;
},
};

Expand Down

0 comments on commit 1db0a9e

Please sign in to comment.