mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
BUGFIX: make_list should only look for lists
This commit is contained in:
2
vendor/assets/javascripts/better_markdown.js
vendored
2
vendor/assets/javascripts/better_markdown.js
vendored
@@ -1036,7 +1036,7 @@
|
|||||||
|
|
||||||
var next_block = next[0] && next[0].valueOf() || "";
|
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();
|
block = next.shift();
|
||||||
|
|
||||||
// Check for an HR following a list: features/lists/hr_abutting
|
// Check for an HR following a list: features/lists/hr_abutting
|
||||||
|
|||||||
Reference in New Issue
Block a user