mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2024-05-18 05:36:38 +02: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
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue