StringExtensions..::..StripHTML Method
Removes all HTML tags from the string, returning only the text content.
Entities are decoded first so that HTML which arrived encoded (for example
<p>) has its tags exposed and stripped; script and style blocks are
removed along with their contents, and tags that span multiple lines are handled.
Namespace:
AdvantageCMS.Core.CommonAssembly: AdvantageCMS.Core (in AdvantageCMS.Core.dll)
Syntax
Parameters
- text
- Type: String
The HTML string to strip. May be plain HTML or HTML-encoded HTML.

