bubble-bath

Crates.iobubble-bath
lib.rsbubble-bath
version0.2.1
created_at2023-11-16 11:44:18.156252+00
updated_at2024-11-07 09:21:49.695895+00
descriptionSmall and quick HTML sanitizer
homepage
repositoryhttps://github.com/aumetra/bubble-bath
max_upload_size
id1037529
size75,138
Aumetra Weisman (aumetra)

documentation

README

bubble-bath

Small and quick HTML sanitizer

Usage

Add bubble-bath to your dependencies:

cargo add bubble-bath

Use the library:

let unsanitized = r#"<script>alert('XSS!')</script>"#;
let clean = bubble_bath::clean(unsanitized);

License

bubble-bath is either licensed under the Apache-2.0 or MIT license, at your choosing.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as above, without any additional terms or conditions.

Commit count: 47

cargo fmt