Replies: 3 comments
-
There are a couple ways depending on your use case:
Depending on your use case one of those will be easier but be prepared to test lots of edge cases. |
Beta Was this translation helpful? Give feedback.
0 replies
-
If all you need are inline tokens you can use |
Beta Was this translation helpful? Give feedback.
0 replies
-
Depends on whether you want to sanitize on input or output. Personally, I run the output through dompurify library. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
For example, imagine a situation where I only want to allow "bold". What's the best approach to limiting marked's parsing to "bold" only?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions