Skip to content

Commit f313859

Browse files
committed
fix: remove unnecessary trimming of callout marks in blockquote processing
1 parent b5f180c commit f313859

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/render/compiler/blockquote.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ export const blockquoteCompiler = ({ renderer }) =>
2222
if (firstParagraph.tokens && firstParagraph.tokens.length > 0) {
2323
firstParagraph.tokens.forEach(t => {
2424
if (t.raw) {
25-
t.raw = t.raw.replace(calloutMark, '').trimStart();
25+
t.raw = t.raw.replace(calloutMark, '');
2626
}
2727
if (t.text) {
28-
t.text = t.text.replace(calloutMark, '').trimStart();
28+
t.text = t.text.replace(calloutMark, '');
2929
}
3030
});
3131
}

0 commit comments

Comments
 (0)