htmlEntitiesDecode

This takes a string of raw HTML and decodes the entities into a nice D utf-8 string. By default, it uses loose mode - it will try to return a useful string from garbage input too. Set the second parameter to true if you'd prefer it to strictly throw exceptions on garbage input.

string
htmlEntitiesDecode
(
string data
,
bool strict = false
)

See Also

Meta