From e8809f7e448bffc51adac1f2e143d99496d6a55f Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Sat, 22 Nov 2014 21:06:13 -0800
Subject: 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.
---
 js/lib/blocks.js | 1 +
 1 file changed, 1 insertion(+)

(limited to 'js/lib')

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 &&
-- 
cgit v1.2.3