summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-22 21:06:13 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-22 21:06:13 -0800
commite8809f7e448bffc51adac1f2e143d99496d6a55f (patch)
tree076e30b6efc88412475c63d1362b27b2140888ad /js
parent83ea962027d9425f404bf7659cf336fd1bd03417 (diff)
Updated JS and C implementations for #209.
A setext header was being treated a if it were a blank line for purposes of tight/loose list determination. Closes #209.
Diffstat (limited to 'js')
-rw-r--r--js/lib/blocks.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/lib/blocks.js b/js/lib/blocks.js
index 791b74f..fd76b15 100644
--- a/js/lib/blocks.js
+++ b/js/lib/blocks.js
@@ -465,6 +465,7 @@ var incorporateLine = function(ln, line_number) {
// on an empty list item.
container.last_line_blank = blank &&
!(container.t == 'BlockQuote' ||
+ container.t == 'SetextHeader' ||
container.t == 'FencedCode' ||
(container.t == 'ListItem' &&
container.children.length === 0 &&