Add decodeEntities method to TextHelper