mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: Instead of patching markdown-js, fix the issue in Discourse.
This commit is contained in:
parent
90e2f1893c
commit
0f23456259
2 changed files with 5 additions and 2 deletions
2
vendor/assets/javascripts/better_markdown.js
vendored
2
vendor/assets/javascripts/better_markdown.js
vendored
|
@ -1013,7 +1013,7 @@
|
|||
|
||||
if (firstBlock) {
|
||||
|
||||
if (isArray(firstBlock)) { firstBlock.shift(); }
|
||||
firstBlock.shift();
|
||||
contents.splice.apply(contents, [0, 1].concat(firstBlock));
|
||||
add( last_li, loose, contents, nl );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue