Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I pass rehypeSanitize to rehypePlugins, code highlight doesn't work. #259

Open
kimye0808 opened this issue Mar 2, 2024 · 1 comment

Comments

@kimye0808
Copy link

kimye0808 commented Mar 2, 2024

https://github.com/uiwjs/react-markdown-preview?tab=readme-ov-file#security

Like the security-related example you presented,
if I pass rehypeSanitize to rehypePlugins, the code highlight does not work.
Is this intended? If I remove rehypePlugins, code highlight works normally.
Thanks for reading.

@jaywcjlove
Copy link
Member

@kimye0808 It looks like I fixed this issue. upgrade v5.0.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants