diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-14 22:10:33 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-14 22:10:33 -0800 |
commit | 16d7d3df1cbf0880416d2eaa610d72bb06f5da56 (patch) | |
tree | 16b4690050eda153bd2449a2fab435801993f86f | |
parent | 39537f3f2a5969f607f5efc8b77668248adf38f3 (diff) |
Slightly more efficient test for lazy continuation.
-rw-r--r-- | js/lib/blocks.js | 3 |
1 files changed, 1 insertions, 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 |