Skip to content

Commit

Permalink
fix(menu/Help): incorrect import of markup parser (#531)
Browse files Browse the repository at this point in the history
  • Loading branch information
Flurb committed Feb 3, 2022
1 parent 659aa8e commit b6f7ea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/menu/Help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async function getLinkedPages(path: string[]): Promise<Directory> {
);
const header = html`<div style="padding: 8px;">
${page === 'Home' ? aboutBox(edition.version) : html``}
${unsafeHTML(marked(unlinkedMd))}
${unsafeHTML(marked.parse(unlinkedMd))}
</div>`;
const entries = Array.from(
md.matchAll(/\(https:..github.com.openscd.open-scd.wiki.([^)]*)\)/g)
Expand Down

0 comments on commit b6f7ea1

Please sign in to comment.