Remove HTML tags from text.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- htmlText
- Type: System String
HTML text
- replaceEntities
- Type: System Boolean
True if replace special entities
- replaceComments
- Type: System Boolean
Whether to replace HTML comments
- tagReplacement
- Type: System String
Replacement for HTML tags - inner of tag is string "$2"
- entitiesReplacement
- Type: System String
Replacement for HTML entities
- commentsReplacement
- Type: System String
Replacement for HTML comments
Return Value
Type: StringSee Also