From c737934e286710a2b8094c6255eee98102eed57a Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 21 Jan 2015 09:27:44 -0800 Subject: Adjust lastLineLength before returning. --- js/lib/blocks.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/lib/blocks.js b/js/lib/blocks.js index 3e1f0a0..9181992 100644 --- a/js/lib/blocks.js +++ b/js/lib/blocks.js @@ -445,6 +445,7 @@ var incorporateLine = function(ln) { all_matched = false; break; case 2: // we've hit end of line for fenced code close and can return + this.lastLineLength = ln.length - 1; // -1 for newline return; default: throw 'continue returned illegal value, must be 0, 1, or 2'; -- cgit v1.2.3