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 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';