mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-16 22:44:29 -06:00
Fix single line breaks bug
This commit is contained in:
parent
435b39f96d
commit
6bda28300d
@ -1392,7 +1392,9 @@ SimpleMDE.prototype.markdown = function(text) {
|
|||||||
|
|
||||||
|
|
||||||
// Update options
|
// Update options
|
||||||
if(this.options && this.options.renderingConfig && this.options.renderingConfig.singleLineBreaks !== false) {
|
if(this.options && this.options.renderingConfig && this.options.renderingConfig.singleLineBreaks === false) {
|
||||||
|
markedOptions.breaks = false;
|
||||||
|
} else {
|
||||||
markedOptions.breaks = true;
|
markedOptions.breaks = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user