Skip to content

Commit

Permalink
fix: alldow addition content in sidebar, fix #518, fix 539 (#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
QingWei-Li authored Jun 29, 2018
1 parent 3a7ad62 commit 04b36b0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/core/render/compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,6 @@ export class Compiler {

if (text) {
html = this.compile(text)
html = html && html.match(/<ul[^>]*>([\s\S]+)<\/ul>/g)[0]
} else {
const tree = this.cacheTree[currentPath] || genTree(this.toc, level)
html = treeTpl(tree, '<ul>')
Expand Down

0 comments on commit 04b36b0

Please sign in to comment.