aboutsummaryrefslogtreecommitdiff
path: root/js/lib/blocks.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/blocks.js')
-rw-r--r--js/lib/blocks.js3
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