mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 11:15:24 +03:00
Fix issue with Markdown rendering after line break in strict mode
This commit is contained in:
parent
4a91444ded
commit
7c12c97a82
@ -292,8 +292,8 @@ function renderMarkdown(content, givenOpts = {}) {
|
||||
if (match) {
|
||||
// We define breakline as a custom Token Type
|
||||
let token = state.push("html_inline", "breakline", 0);
|
||||
token.content = "<br/>";
|
||||
state.pos += "<br/>".length;
|
||||
token.content = "<br>";
|
||||
state.pos += match[0].length;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user