Skip to content

Commit

Permalink
fix: fix comma issue
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Mar 15, 2020
1 parent 94e9301 commit 34ca1a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class MarkdownRenderComponent implements OnInit, OnChanges, AfterViewInit
const value = this.renderToc(item.children);
return `<li>
<a class="level_${item.level}" href="${this.location.path()}#${item.anchor}" title=${item.text}>${item.text}</a>
<ul>${value}</ul>
<ul>${value.join('')}</ul>
</li>`;
} else {
return `<li><a class="level_${item.level}" href="${this.location.path()}#${item.anchor}" title=${item.text}>${item.text}</a></li>`;
Expand Down

0 comments on commit 34ca1a7

Please sign in to comment.