Expand description
HTML sanitization utilities
This module provides functions for sanitizing HTML content to prevent XSS attacks while preserving safe formatting.
Functionsยง
- decode_
entities - Decode HTML entities to Unicode characters
- sanitize_
feed - Sanitize every HTML-bearing field of a parsed feed, in place.
- sanitize_
html - Sanitize HTML content, removing dangerous tags and attributes
- strip_
tags - Strip all HTML tags, leaving only text content