public HtmlElement Prepend(string html) { if (html == null) { throw new ArgumentNullException("html"); } var nodes = HtmlParser.ParseFragment(html, this, this.BaseUri); Prepend(nodes.ToArray()); return(this); }
// TODO Requires f-web-dom upgrade to include DomReader/HtmlReader public HtmlElement Append(string html) { if (html == null) { throw new ArgumentNullException("html"); } IList <DomNode> nodes = HtmlParser.ParseFragment(html, this, BaseUri); Append(nodes.ToArray()); return(this); }