mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:16:41 +08:00
BUGFIX: make_list should only look for lists
This commit is contained in:
parent
458f6424ff
commit
659589e563
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() || "";
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user