Packages / rupm

rs-encoding-html 0.1.0

Escape and unescape HTML text and strip tags

Install

cargo add rs-encoding-html --registry rupm

In Ruststudio: Packages, search for rs-encoding-html, Install.

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

Versions

README

# rs-encoding-html

Escape and unescape HTML text and strip tags

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

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