mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
BUGFIX: make_list should only look for lists
This commit is contained in:
parent
458f6424ff
commit
659589e563
1 changed files with 1 additions and 1 deletions
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 a new issue