summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/lib/blocks.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/js/lib/blocks.js b/js/lib/blocks.js
index 2939afe..c6e5d75 100644
--- a/js/lib/blocks.js
+++ b/js/lib/blocks.js
@@ -519,16 +519,10 @@ var incorporateLine = function(ln, line_number) {
this.addLine(ln, first_nonspace);
} else if (blank) {
break;
- } else if (container.t !== 'HorizontalRule' &&
- container.t !== 'Header') {
+ } else {
// create paragraph container for line
container = this.addChild('Paragraph', line_number, first_nonspace);
this.addLine(ln, first_nonspace);
- } else {
- console.log("Line " + line_number.toString() +
- " with container type " + container.t +
- " did not match any condition.");
-
}
}
}