Static markup5ever::data::NAMED_ENTITIES

source ·
pub static NAMED_ENTITIES: Map<&'static str, (u32, u32)>
Expand description

A map of entity names to their codepoints. The second codepoint will be 0 if the entity contains a single codepoint. Entities have their preceding ‘&’ removed.

§Examples

use markup5ever::data::NAMED_ENTITIES;

assert_eq!(NAMED_ENTITIES.get("gt;").unwrap(), &(62, 0));