I can easily remove the element just by note.Remove() lik this:
HtmlDocument html = new HtmlDocument(); html.Load(Server.MapPath(@\"~\\Site\\themes\\default
There is a simple way:
element.InnerHtml = element.InnerHtml.Replace("", "{1}"); var innerTextWithBR = element.InnerText.Replace("{1}", "");