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 fa2f070 commit 5ccf910Copy full SHA for 5ccf910
src/core/render/compiler/blockquote.js
@@ -20,17 +20,10 @@ export const blockquoteCompiler = ({ renderer }) =>
20
token[key] = token[key].replace(calloutMark, '').trimStart();
21
});
22
23
- // Remove empty paragraph
24
- if (tokens.length > 1 && !token.raw.trim()) {
25
- tokens = tokens.slice(1);
26
- }
27
-
28
openTag = `<div class="callout ${calloutType}">`;
29
closeTag = `</div>`;
30
}
31
32
const body = this.parser.parse(tokens);
33
- const html = `${openTag}${body}${closeTag}`;
34
35
- return html;
+ return `${openTag}${body}${closeTag}`;
36
0 commit comments