- Commit
- c737934e286710a2b8094c6255eee98102eed57a
- Parent
- 66d317950fe7ffc7d571556e4e56e442a0755bb4
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Adjust lastLineLength before returning.
My personal build of CMark ✏️
Adjust lastLineLength before returning.
1 file changed, 1 insertion, 0 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | js/lib/blocks.js | 1 | 1 | 0 |
diff --git 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';