Skip to content

Commit 0fabb15

Browse files
fix(storybook): correct allow html option casing
1 parent 4253f7c commit 0fabb15

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stories/remark-component.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ $$`
4343

4444
export const MixedHTMLSanitized = () => (
4545
<Remark
46-
remarkToRehypeOptions={{ allowDangerousHTML: true }}
46+
remarkToRehypeOptions={{ allowDangerousHtml: true }}
4747
rehypePlugins={[rehypeRaw, rehypeSanitize]}
4848
>
4949
{text(

stories/remark-hook.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const MarkdownWithMath = () => {
5656

5757
export const MixedHTMLSanitized = () => {
5858
const [reactContent, setMarkdownSource] = useRemark({
59-
remarkToRehypeOptions: { allowDangerousHTML: true },
59+
remarkToRehypeOptions: { allowDangerousHtml: true },
6060
rehypePlugins: [rehypeRaw, rehypeSanitize],
6161
});
6262
const markdownSource = text(

0 commit comments

Comments
 (0)