C# Class StyleMerge.Inliner

The primary entry point of this library. Use "ProcessHtml" for all your email inlining needs.
Afficher le fichier Open project: wildbit/style-merge

Méthodes publiques

Méthode Description
ProcessHtml ( string sourceHtml ) : String

Accepts a string of HTML and produces a string of HTML with styles inlined.

Private Methods

Méthode Description
ApplyRulesToElements ( CQ document, IEnumerable rules, HashSet noApply ) : void
GetAllChildren ( IDomElement element ) : IEnumerable

Method Details

ProcessHtml() public static méthode

Accepts a string of HTML and produces a string of HTML with styles inlined.
public static ProcessHtml ( string sourceHtml ) : String
sourceHtml string
Résultat String