Changed how HTML entities are decoded