Decode HTML entities before handling text