13.4 htmlentitydefs -- Definitions of HTML general entities
Keywords: lib

# 13.4 `htmlentitydefs` -- Definitions of HTML general entities

This module defines a single dictionary, `entitydefs`, which is used by the `htmllib` module to provide the `entitydefs` member of the `HTMLParser` class. The definition provided here contains all the entities defined by HTML 2.0 that can be handled using simple textual substitution in the Latin-1 character set (ISO-8859-1).

`entitydefs`
  A dictionary mapping HTML 2.0 entity definitions to their replacement text in ISO Latin-1.