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_
and_ decode - Sanitize and decode HTML content
- sanitize_
html - Sanitize HTML content, removing dangerous tags and attributes
- strip_
tags - Strip all HTML tags, leaving only text content