parent
66a9cfd809
commit
1a9f7c85b8
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ export class MarkdownEngine {
|
|||
return `<div>${hljs.highlight(lang, str, true).value}</div>`;
|
||||
} catch (error) { }
|
||||
}
|
||||
return `<code><div>${this.md!.utils.escapeHtml(str)}</div>`;
|
||||
return `<code><div>${this.md!.utils.escapeHtml(str)}</div></code>`;
|
||||
}
|
||||
}).use(mdnh, {
|
||||
slugify: (header: string) => this.slugifier.fromHeading(header).value
|
||||
|
|
Loading…
Reference in a new issue