Skip to content

Commit 5bb6bb0

Browse files
committedSep 19, 2023
fix(build): indentation being lost in code blocks
closes #2988
1 parent 0df8843 commit 5bb6bb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/node/markdown/plugins/highlight.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export async function highlight(
153153
)
154154
}
155155

156-
str = removeMustache(str).trim()
156+
str = removeMustache(str).trimEnd()
157157

158158
const codeToHtml = (theme: IThemeRegistration) => {
159159
const res =

0 commit comments

Comments
 (0)
Please sign in to comment.