fix: alldow addition content in sidebar, fix #518, fix 539 (#543)

This commit is contained in:
cinwell.li
2018-06-29 21:27:54 +08:00
committed by GitHub
parent 3a7ad6299e
commit 04b36b0ef2
-1
View File
@@ -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>')