added spec for link formatting