Expand description
Shared utility functions for HTML processing.
This module provides common utilities used across the library and bindings for HTML text escaping, attribute escaping, and void element detection.
Functionsยง
- escape_
attr - Escapes special characters for HTML attribute values.
- escape_
text - Escapes special characters for HTML text content.
- is_
void_ element - Returns true if the element is a void element (no closing tag).