messense

Results 493 comments of messense
trafficstars

Neither feature parity with Bleach nor full ammonia API is the goal for `nh3` at the moment, but I'm happy to add more knobs for projects that want to migrate...

Added `clean_content_tags ` in https://github.com/messense/nh3/pull/12

> Bleach offers the ability to pass `callbacks` which can modify/augment/remove attributes from each element. Is there a chance to get something similar here? @camflan Added `tag_attribute_values` for this in...

> Being able to choose between stripping and escaping would be very much appreciated. See https://github.com/rust-ammonia/ammonia/issues/145

I'm ok with it as long as parsing tool table to a struct in downstream is doable and easy.

Can you try install them via setup-python action before calling this action?

Probably something has changed in github actions tool cache for PyPy. https://github.com/PyO3/maturin-action/blob/b49dce4c3301c4291fbfb8519934c34dedf502ac/src/index.ts#L769-L779