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() //
|
return unified() //
|
||||||
.use(markdown)
|
.use(markdown)
|
||||||
.use(markdownFrontmatter)
|
.use(markdownFrontmatter)
|
||||||
.use(remarkStringify, { unsafe: [{ character: '$' }] })
|
.use(remarkStringify)
|
||||||
.use(remarkRehype, { allowDangerousHtml: false })
|
.use(remarkRehype, { allowDangerousHtml: true })
|
||||||
.use(rehypeStringify, {
|
.use(rehypeStringify, {
|
||||||
allowDangerousHtml: true,
|
allowDangerousHtml: true,
|
||||||
allowDangerousCharacters: false,
|
allowDangerousCharacters: true,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue