Fix nested anchor tags