diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-21 09:27:44 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-21 10:10:21 -0800 |
commit | c737934e286710a2b8094c6255eee98102eed57a (patch) | |
tree | 2f522cb3f91dee68b2ea075dc42183e895a150a7 /js/lib | |
parent | 66d317950fe7ffc7d571556e4e56e442a0755bb4 (diff) |
Adjust lastLineLength before returning.
Diffstat (limited to 'js/lib')
-rw-r--r-- | js/lib/blocks.js | 1 |
1 files changed, 1 insertions, 0 deletions
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'; |