rust-ammonia / ammonia

Repair and secure untrusted HTML
Apache License 2.0
524 stars 43 forks source link

Base64 encoded images are not supported by ammonia #207

Closed Ph0tonic closed 4 weeks ago

Ph0tonic commented 4 weeks ago

Ammonia removes the src field as it consider the data as invalid.

Ph0tonic commented 4 weeks ago

My bad, I finally identified the schemes parameter which allows to support the data: scheme.