Exemplo n.º 1
0
        public void EncodeLink()
        {
            var act = HtmlHelpers.EncodeLink("http://www.yahoo.com/?a=b&c=<>()\"\'");

            act.Should().Be("http://www.yahoo.com/?a=b&amp;c=&lt;&gt;&#40;&#41;&quot;&#x27;");
        }