cmark

My personal build of CMark ✏️

Commit
fcc419a04e5db89586edb0fb29707144225e129b
Parent
ff2c7c8f52c2f536ae67dd72a6ee83e00aec5635
Author
John MacFarlane <jgm@berkeley.edu>
Date

Removed unnecessary check.

Diffstat

1 file changed, 0 insertions, 4 deletions

Status File Name N° Changes Insertions Deletions
Modified js/lib/blocks.js 4 0 4
diff --git a/js/lib/blocks.js b/js/lib/blocks.js
@@ -554,10 +554,6 @@ var incorporateLine = function(ln) {
 var finalize = function(block, lineNumber) {
     var pos;
     var above = block._parent;
-    // don't do anything if the block is already closed
-    if (!block._open) {
-        return;
-    }
     block._open = false;
     block.sourcepos[1] = [lineNumber, this.lastLineLength + 1];