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

Corrects the <img> and <br> tags generated by Word.
Inheritance: IHTMLCleaner
Mostrar archivo Open project: xwiki-contrib/xwiki-office Class Usage Examples

Public Methods

Method Description
Clean ( string htmlSource ) : string

Corrects the img and br tags generated by Word.

CorrectTagsClosingCleaner ( string tagName ) : System

Cleaner constructor.

Method Details

Clean() public method

Corrects the img and br tags generated by Word.
public Clean ( string htmlSource ) : string
htmlSource string The html source to be corrected.
return string

CorrectTagsClosingCleaner() public method

Cleaner constructor.
public CorrectTagsClosingCleaner ( string tagName ) : System
tagName string The name if the tag. Eg: "img", "br".
return System