cmark

My personal build of CMark ✏️

Commit
56b934526e9fdfdf26adc40f57b7edb885d54e5c
Parent
d405cb3dda9626bd310d6d082c30882529559082
Author
John MacFarlane <jgm@berkeley.edu>
Date

Merge pull request #291 from robinst/addChild-call-arguments

Fix incorrect call to addChild with 3 arguments

Diffstat

1 file changed, 1 insertion, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified js/lib/blocks.js 2 1 1
diff --git a/js/lib/blocks.js b/js/lib/blocks.js
@@ -537,7 +537,7 @@ var incorporateLine = function(ln) {
                 break;
             } else {
                 // create paragraph container for line
-                container = this.addChild('Paragraph', this.lineNumber, offset);
+                this.addChild('Paragraph', offset);
                 this.addLine(ln, offset);
             }
         }