You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 15, 2019. It is now read-only.
before purifying: <img src="data:image/png;base64,iVB<MoreBase64SringHere>" >
after purifying: <img src="x-data:image/png;base64,iVB<MoreBase64SringHere>" >
"x-data:image/png" is an invalid value for image src. It turns out the images can not show at all in any browser.
"x" is added to the src data part.
For example
before purifying:
<img src="data:image/png;base64,iVB<MoreBase64SringHere>" >after purifying:
<img src="x-data:image/png;base64,iVB<MoreBase64SringHere>" >"x-data:image/png" is an invalid value for image src. It turns out the images can not show at all in any browser.
Is there any workaround or quick fix for this?