Skip to content

Commit

Permalink
fix(markdown): type assert
Browse files Browse the repository at this point in the history
  • Loading branch information
Niznikr committed Dec 6, 2023
1 parent 6c04cdb commit e06a411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/markdown/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function renderMarkdown(
return link.replace('<a', "<a target='_blank' rel='noopener noreferrer'");
};

const html = marked(source, { renderer });
const html = marked(source, { renderer }) as string;

const sanitizationConfig: Config = {
KEEP_CONTENT: false,
Expand Down

0 comments on commit e06a411

Please sign in to comment.