htmlent

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL