Packages / rupm

html-tools 0.1.0

Escape and unescape HTML text and strip tags

Install

cargo add html-tools --registry rupm

In Ruststudio: Packages, search for html-tools, Install.

Owner: Rust Studio. Licence: MIT OR Apache-2.0. Total downloads: 0. Published 2026-11-22.

Versions

README

# html-tools

Escape and unescape HTML text and strip tags

Add it with `rupm add html-tools` (or `cargo add html-tools --registry rupm`).

```rust
let safe = html_tools::escape("<b>Tom & \"Jerry\"</b>");
let text = html_tools::strip_tags("<p>Hello <b>you</b></p>"); // "Hello you"
let back = html_tools::unescape("&lt;&amp;&#65;");           // "<&A"
```