public void ParseOddExpandedLinks() { string text = "This is a test with an [embedded link|jquery.ui.com] that is formatted and one to http://skodia.name.com that is not."; string parsed = UrlParser.ExpandUrls(text, null, true); TestContext.WriteLine("{0}", parsed); Assert.IsTrue(parsed.Contains("<a href='http://jquery.ui.com'>embedded link</a>"), "link parsing failed."); Assert.IsTrue(parsed.Contains("<a href='http://skodia.name.com'>http://skodia.name.com</a>"), "link parsing failed."); }