Skip to content

Commit 04b36b0

Browse files
authored
fix: alldow addition content in sidebar, fix #518, fix 539 (#543)
1 parent 3a7ad62 commit 04b36b0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/core/render/compiler.js

-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,6 @@ export class Compiler {
300300

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

0 commit comments

Comments
 (0)