From 04b36b0ef2594d4ab526a8aea98d6185b20ee600 Mon Sep 17 00:00:00 2001 From: "cinwell.li" Date: Fri, 29 Jun 2018 21:27:54 +0800 Subject: [PATCH] fix: alldow addition content in sidebar, fix #518, fix 539 (#543) --- src/core/render/compiler.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/render/compiler.js b/src/core/render/compiler.js index 49242084b..716013049 100644 --- a/src/core/render/compiler.js +++ b/src/core/render/compiler.js @@ -300,7 +300,6 @@ export class Compiler { if (text) { html = this.compile(text) - html = html && html.match(/]*>([\s\S]+)<\/ul>/g)[0] } else { const tree = this.cacheTree[currentPath] || genTree(this.toc, level) html = treeTpl(tree, '