Skip to content

Commit 22edfce

Browse files
committed
fix: alldow addition content in sidebar, fix #518, fix 539
1 parent 5523a2a commit 22edfce

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
@@ -290,7 +290,6 @@ export class Compiler {
290290

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

0 commit comments

Comments
 (0)