[utils/toHTML] Added ability to decode html entities.