HTMLHelperRemoveComments Method |
Remove HTML comments from given text.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax public static string RemoveComments(
string htmlText,
string commentsReplacement = ""
)
Parameters
- htmlText
- Type: SystemString
HTML text - commentsReplacement (Optional)
- Type: SystemString
Replacement for HTML comments
Return Value
Type:
StringSee Also