decodeHtmlCharacters function
Decodes HTML entity and numeric character references, for example decode
#
to #
.
Implementation
String decodeHtmlCharacters(String input) =>
input.replaceAllMapped(htmlCharactersPattern, decodeHtmlCharacterFromMatch);