Documentation
¶
Overview ¶
Package htmlent holds the HTML named-character-reference tables.
The names and their code points come from the WHATWG entity list, generated rather than hand-written (see tools/htmlentgen). They back the To HTML Entity and From HTML Entity operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ByteToEntity = map[int]string{}/* 1446 elements not displayed */
ByteToEntity gives the one entity name used when encoding each code point (1446 of them).
View Source
var EntityToByte = map[string]int{}/* 2032 elements not displayed */
EntityToByte maps every spec name to its code point when decoding (2032 of them), so the names that are not chosen for encoding are still understood.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.