RazorMail.Parsers.HtmlAgilityPackParser.RemoveUnwantedElements C# (CSharp) Méthode

RemoveUnwantedElements() protected méthode

protected RemoveUnwantedElements ( HtmlNode root ) : void
root HtmlAgilityPack.HtmlNode
Résultat void
        protected void RemoveUnwantedElements(HtmlNode root)
        {
            root.SelectNodes("//head|//style|//img|//comment()").ForEach(x => x.Remove());
        }