public List <Diff> GetDifference(string html1, string html2)
        {
            var listOfDiffs = _differ.diff_main(html1, html2);

            _differ.diff_cleanupSemantic(listOfDiffs);

            return(listOfDiffs);
        }
Example #2
0
        public List <Diff> GetDifference(string html1, string html2)
        {
            var pageBodyText = HtmlHelper.GetBodyText(html1);
            var webBodyText  = HtmlHelper.GetBodyText(html2);
            var listOfDiffs  = _differ.diff_main(pageBodyText, webBodyText);

            _differ.diff_cleanupSemantic(listOfDiffs);

            return(listOfDiffs);
        }