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 435b39f commit 6bda283Copy full SHA for 6bda283
src/js/simplemde.js
@@ -1392,7 +1392,9 @@ SimpleMDE.prototype.markdown = function(text) {
1392
1393
1394
// Update options
1395
- if(this.options && this.options.renderingConfig && this.options.renderingConfig.singleLineBreaks !== false) {
+ if(this.options && this.options.renderingConfig && this.options.renderingConfig.singleLineBreaks === false) {
1396
+ markedOptions.breaks = false;
1397
+ } else {
1398
markedOptions.breaks = true;
1399
}
1400
0 commit comments