Expand description
HTML parsing, plain text rendering, and HTML table extraction utilities.
Structs§
- Entity
Table - In-memory table storing bidirectional entity lookups.
Enums§
- Entity
Set - Supported HTML / XML / MathML entity sets.
Functions§
- escape_
quoted_ attr - Escape special characters for use in HTML attribute values.
- escape_
text - Escape HTML special characters to be used in text content.
- from_
entities - Replace HTML entities (named or numeric) with characters using the specified entity set.
- from_
entities_ html4 - Replace HTML 4.0 named HTML entities (named or numeric) with characters.
- from_
entities_ html5 - Replace HTML 5 named HTML entities (named or numeric) with characters.
- from_
entities_ html32 - Replace HTML 3.2 named HTML entities (named or numeric) with characters.
- from_
entities_ mathml - Replace MathML named entities (named or numeric) with characters.
- from_
entities_ netscape_ 1999 - Replace Netscape 1999 HTML entities (named or numeric) with characters.
- from_
entities_ xml - Replace XML named entities (named or numeric) with characters.
- to_
entities - Replace applicable characters with named HTML entities from the specified entity set.
- to_
entities_ html4 - Replace applicable characters with their HTML 4.0 named HTML entities.
- to_
entities_ html5 - Replace applicable characters with their HTML 5 named HTML entities.
- to_
entities_ html32 - Replace applicable characters with their HTML 3.2 named HTML entities.
- to_
entities_ mathml - Replace applicable characters with their MathML named entities.
- to_
entities_ netscape_ 1999 - Replace applicable characters with their Netscape 1999 named HTML entities.
- to_
entities_ xml - Replace applicable characters with their XML named entities.