diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-21 09:31:59 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-21 09:31:59 -0800 |
commit | 6e201b744581bb080dad8dfe40247f73688ede2d (patch) | |
tree | 05930eef8254c8fbd97653153d8dea78983d35b0 | |
parent | f2a9bbe3054be919be22917edf560dd6ecac3ae2 (diff) |
Adjust lastLineLength before returning after close fence.
-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 257b991..57aba3d 100644 --- a/js/lib/blocks.js +++ b/js/lib/blocks.js @@ -307,6 +307,7 @@ var incorporateLine = function(ln) { // closing fence - we're at end of line, so we can return all_matched = false; this.finalize(container, this.lineNumber); + this.lastLineLength = ln.length - 1; // -1 for newline return; } else { // skip optional spaces of fence offset |