Example #1
0
        public Document ParseInput(string html, string baseUri)
        {
            _errors = IsTrackErrors ? ParseErrorList.Tracking(_maxErrors) : ParseErrorList.NoTracking();
            Document doc = _treeBuilder.Parse(html, baseUri, _errors);

            return(doc);
        }