diff options
Diffstat (limited to 'src/utils')
| -rw-r--r-- | src/utils/helpers/rehype.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/utils/helpers/rehype.ts b/src/utils/helpers/rehype.ts index 2716c62..fc51da1 100644 --- a/src/utils/helpers/rehype.ts +++ b/src/utils/helpers/rehype.ts @@ -9,14 +9,12 @@ export const updateContentTree = async (content: string): Promise<string> => { const { unified } = await import('unified'); const rehypeParse = (await import('rehype-parse')).default; - const rehypeSanitize = (await import('rehype-sanitize')).default; const rehypeSlug = (await import('rehype-slug')).default; const rehypeStringify = (await import('rehype-stringify')).default; return unified() .use(rehypeParse, { fragment: true }) .use(rehypeSlug) - .use(() => rehypeSanitize({ clobberPrefix: 'h-' })) .use(rehypeStringify) .processSync(content) .toString(); |
