Given a set of newline separated sentences, generate appropriate <ul><li> tags.