gjtorikian / selma

Selma selects and matches HTML nodes using CSS rules. Backed by Rust's lol_html parser.
MIT License
56 stars 3 forks source link

Ensure sanitization occurs after rewrite #57

Closed gjtorikian closed 4 months ago

gjtorikian commented 4 months ago

I believe that sanitization should happen after rewriting. To be honest, sanitization should happen during the rewriting, so that the HTML doesn't need to be processed twice, but I'm fine leaving that improvement for the future.

gjtorikian commented 4 months ago

Rolled into #58

but I'm fine leaving that improvement for the future.

this improvement was made