Is it expected that base64 images are stripped? #59
Answered
by
wooorm
uncleramsay
asked this question in
Q&A
-
Hi, I'm using rehype-sanitize with react-markdown and I notice that my base64 images no longer work: <img src=\"data:image/png;base64,iVBORw0KGgoA...." /> is being rendered as <img /> Removing the sanitize plugin restores the image. Are base64 strings dangerous in some way? |
Beta Was this translation helpful? Give feedback.
Answered by
wooorm
Jul 1, 2021
Replies: 1 comment 2 replies
-
Yes, they are. I pasted the image below and GH strips them. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
wooorm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, they are. I pasted the image below and GH strips them.