BlogEngine: Re-allow dangerous HTML
This commit is contained in:
parent
bfa2485db1
commit
577e3815b6
1 changed files with 3 additions and 3 deletions
|
|
@ -87,11 +87,11 @@ export class BlogPost {
|
|||
return unified() //
|
||||
.use(markdown)
|
||||
.use(markdownFrontmatter)
|
||||
.use(remarkStringify, { unsafe: [{ character: '$' }] })
|
||||
.use(remarkRehype, { allowDangerousHtml: false })
|
||||
.use(remarkStringify)
|
||||
.use(remarkRehype, { allowDangerousHtml: true })
|
||||
.use(rehypeStringify, {
|
||||
allowDangerousHtml: true,
|
||||
allowDangerousCharacters: false,
|
||||
allowDangerousCharacters: true,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue