C# Class StyleMerge.Inliner

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

Public Methods

Method Description
ProcessHtml ( string sourceHtml ) : String

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

Private Methods

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

Method Details

ProcessHtml() public static method

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