parent
3a7ad6299e
commit
04b36b0ef2
1 changed files with 0 additions and 1 deletions
|
|
@ -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>')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue