[ ] Try opening the input HTML directly in a WHATWG web browser (like Safari, Edge, Chrome, or Firefox) without sanitizing it.
If the browser parses it the same way Ammonia does, then it's not a bug.
[ ] Supply the reduced output HTML here
output <html> here
[ ] If Ammonia panics, please provide a backtrace
$ RUST_BACKTRACE=1 ./test
thread 'main' panicked at test.rs:1:17:
explicit panic
stack backtrace:
0: std::panicking::begin_panic
1: test::other_fn
2: test::main
3: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Ammonia removes the src field as it consider the data as invalid.
[ ] If you used a custom Builder configuration, please supply it here
[ ] If ammonia produced unexpected HTML
If the browser parses it the same way Ammonia does, then it's not a bug.
[ ] If Ammonia panics, please provide a backtrace
Ammonia removes the src field as it consider the data as invalid.