 Shares of Leaf Group Ltd. soared 21.6 in active morning trading Monday, after the consumer internet company announced an agreement to be bought by education and media services company Graham Holdings Co. in a deal that valued Leaf about 304.3 million. 