HTMLHelperRemoveComments Method |
Remove HTML comments from given text.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
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