From c737934e286710a2b8094c6255eee98102eed57a Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 21 Jan 2015 09:27:44 -0800 Subject: Adjust lastLineLength before returning. --- js/lib/blocks.js | 1 + 1 file changed, 1 insertion(+) (limited to 'js/lib') 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'; -- cgit v1.2.3 '> cgit logo index : notmuch
Unnamed repository; edit this file 'description' to name the repository.Jonas Smedegaard
summaryrefslogtreecommitdiff
path: root/tags/02/75/840bdd460711101424o1d543fbcn14f01ca15a4a4b@mail.gmail.com/debian
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
committerJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
commitfd54908da2b05c526dd3bee9b6dcd093214a220d (patch)
treec69c845069c99d1d01044f6fafda7c08433329c6 /tags/02/75/840bdd460711101424o1d543fbcn14f01ca15a4a4b@mail.gmail.com/debian
parentba46132213560cf3335d53560d519c0ec0190da2 (diff)
Diffstat (limited to 'tags/02/75/840bdd460711101424o1d543fbcn14f01ca15a4a4b@mail.gmail.com/debian')