Skip to content

Commit b6f7ea1

Browse files
author
Rob Tjalma
authored
fix(menu/Help): incorrect import of markup parser (openscd#531)
1 parent 659aa8e commit b6f7ea1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/menu/Help.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ async function getLinkedPages(path: string[]): Promise<Directory> {
5151
);
5252
const header = html`<div style="padding: 8px;">
5353
${page === 'Home' ? aboutBox(edition.version) : html``}
54-
${unsafeHTML(marked(unlinkedMd))}
54+
${unsafeHTML(marked.parse(unlinkedMd))}
5555
</div>`;
5656
const entries = Array.from(
5757
md.matchAll(/\(https:..github.com.openscd.open-scd.wiki.([^)]*)\)/g)

0 commit comments

Comments
 (0)