html_character_entities 0.1.2+1 html_character_entities: ^0.1.2+1 copied to clipboard
A utility class containing maps of every HTML 4.01 character entity, including ASCII and hex codes, and methods to encode/decode strings with those character entities.
[0.1.2+1] - September 25, 2019 #
- Strip leading 0s from numeric entities before lookup.
[0.1.2] - August 22, 2019 #
- Added the [checkAmpsForEntities] option to the [encode] method.
[0.1.1] - August 16, 2019 #
-
Added support for hex code character entities.
-
Added missing ASCII codes for characters with HTML codes.
[0.1.0] - August 1, 2019 #
-
Added the [characterEntities] statically typed map to [HtmlCharacterEntities].
-
Added the [encode] method to [HtmlCharacterEntities].
-
Deprecated the [parse] method in favor of [decode]. [parse] still exists as a wrapper of [decode], but will be removed in a future release.
-
Wrote new tests.
[0.0.1 - 0.0.3] - July 7, 2019 #
-
Changed [RegExpMatch] type declarations to [Match].
-
Commented the [HtmlCharacterEntities] class.
-
Initial release.