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

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

Méthodes publiques

Méthode Description
Clean ( string htmlSource ) : string

Corrects the img and br tags generated by Word.

CorrectTagsClosingCleaner ( string tagName ) : System

Cleaner constructor.

Method Details

Clean() public méthode

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

CorrectTagsClosingCleaner() public méthode

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