Exemple #1
0
        public void SkipComments()
        {
            var builder = new HTMLBuilder();

            builder.Settings.WriteComments = false;
            builder.BeginComponent().Div("component").Child().A("http://www.google.com").EndComponent();
            Assert.AreEqual(ConvertResourceStringToCurrentEnvironment(Test.Resources.AssertSkipComments), builder.ToString());
        }