Expand description
HTML sanitization for safe terminal and file output (PRD §41).
All extracted HTML must pass through sanitize_html() before display.
Uses the ammonia crate (the same library used by crates.io itself).
Functions§
- sanitize_
html - Sanitize HTML for safe display.
- sanitize_
to_ text - Strip ALL HTML tags, returning plain text only.