C# Class ContentFiltering.Office.Word.Cleaners.CommentsRemover

Removes comments ('<!-- ... >' and '<![ ... ]>') from an html source.
Inheritance: IHTMLCleaner
Exibir arquivo Open project: xwiki-contrib/xwiki-office Class Usage Examples

Public Methods

Method Description
Clean ( string htmlSource ) : string

Removes comments ('<!-- ... >' and '<![ ... ]>') from an html source.

CommentsRemover ( ) : System

Method Details

Clean() public method

Removes comments ('<!-- ... >' and '<![ ... ]>') from an html source.
public Clean ( string htmlSource ) : string
htmlSource string The HTML source to clean.
return string

CommentsRemover() public method

public CommentsRemover ( ) : System
return System