From 16d7d3df1cbf0880416d2eaa610d72bb06f5da56 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 14 Jan 2015 22:10:33 -0800 Subject: Slightly more efficient test for lazy continuation. --- js/lib/blocks.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/lib/blocks.js b/js/lib/blocks.js index cb4bd5f..590852a 100644 --- a/js/lib/blocks.js +++ b/js/lib/blocks.js @@ -481,8 +481,7 @@ var incorporateLine = function(ln) { indent = first_nonspace - offset; // First check for a lazy paragraph continuation: - if (this.tip !== this.lastMatchedContainer && - !blank && + if (!allClosed && !blank && this.tip.t === 'Paragraph' && this.tip.strings.length > 0) { // lazy paragraph continuation -- cgit v1.2.3