summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/lib/blocks.js1
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