Skip to content

Commit

Permalink
fix(build): indentation being lost in code blocks
Browse files Browse the repository at this point in the history
closes #2988
  • Loading branch information
brc-dd committed Sep 19, 2023
1 parent 0df8843 commit 5bb6bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/markdown/plugins/highlight.ts
Expand Up @@ -153,7 +153,7 @@ export async function highlight(
)
}

str = removeMustache(str).trim()
str = removeMustache(str).trimEnd()

const codeToHtml = (theme: IThemeRegistration) => {
const res =
Expand Down

0 comments on commit 5bb6bb0

Please sign in to comment.