Replies: 1 comment
-
Perhaps I am missing something - the link above seems to be related to the serialization of MDX for the rendering mechanisms of next-mdx-remote. How is that related to sanitization? Apart from that, reliable input sanitization should happen on the server, so I don't think there's anything specific to the editor output. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've looked into some examples people have used to sanitize user input for general mdx, but a lot of the examples output HTML. From my understanding the editor just expects a markdown string and cannot handle a Vfile as an input. Is there a plugin that accomplishes this? How have people been handling this case?
Beta Was this translation helpful? Give feedback.
All reactions