Remove code from excerpt