cmark

My personal build of CMark ✏️

Commit
298889ff1729e2c3b43ec1ecf2ada877a5ac0229
Parent
3b2e2cc28b26651c29ca92fb1fd80dcbf012169a
Author
John MacFarlane <jgm@berkeley.edu>
Date

Fixed start column for blockquotes.

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
@@ -386,7 +386,7 @@ var incorporateLine = function(ln) {
                 offset++;
             }
             this.closeUnmatchedBlocks();
-            container = this.addChild('BlockQuote', offset);
+            container = this.addChild('BlockQuote', first_nonspace);
 
         } else if ((match = ln.slice(first_nonspace).match(reATXHeaderMarker))) {
             // ATX header