From 659589e56335ed7a8be7e242bdb3cab06ba74393 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Mon, 3 Feb 2014 11:31:02 +0100 Subject: [PATCH] BUGFIX: make_list should only look for lists --- vendor/assets/javascripts/better_markdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/assets/javascripts/better_markdown.js b/vendor/assets/javascripts/better_markdown.js index d8e702cdf..b319995c8 100644 --- a/vendor/assets/javascripts/better_markdown.js +++ b/vendor/assets/javascripts/better_markdown.js @@ -1036,7 +1036,7 @@ var next_block = next[0] && next[0].valueOf() || ""; - if ( next_block.match(is_list_re) || (next_block.match(/^ /) && (!next_block.match(/^ *\>/))) ) { + if ( next_block.match(is_list_re) ) { block = next.shift(); // Check for an HR following a list: features/lists/hr_abutting