Expand description
The utils module contains utility functions for metadata processing.
Utility functions for metadata processing and HTML manipulation.
This module provides various utility functions for tasks such as HTML escaping, asynchronous file reading, and metadata extraction from files.
Functionsยง
- async_
extract_ metadata_ from_ file tokio - Asynchronously extracts metadata from a file (feature
tokio). - escape_
attribute - Escapes a value for use inside a double-quoted HTML attribute.
- escape_
html - Escapes special HTML characters in a string.
- escape_
html_ cow - Escapes HTML without allocating when nothing needs escaping.
- unescape_
html - Unescapes HTML entities in a string.