コード例 #1
0
        public void AddTextNodeEncodes()
        {
            var root    = Element.Create("div");
            var builder = new LaraBuilder(root);

            builder.AppendText("<");
            var node = root.Children.FirstOrDefault() as TextNode;

            Assert.NotNull(node);
            Assert.Equal("<", node !.Data);
        }