You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PreMailer.Net/PreMailer.Net/PreMailer.cs
+32-12Lines changed: 32 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -73,10 +73,11 @@ public PreMailer(Stream stream, Uri baseUri = null)
73
73
/// <param name="css">A string containing a style-sheet for inlining.</param>
74
74
/// <param name="stripIdAndClassAttributes">True to strip ID and class attributes</param>
75
75
/// <param name="removeComments">True to remove comments, false to leave them intact</param>
76
+
/// <param name="preserveMediaQueries">If set to true and removeStyleElements is true, it will instead preserve unsupported media queries in the style node and remove the other css, instead of removing the whole style node</param>
76
77
/// <returns>Returns the html input, with styles moved to inline attributes.</returns>
/// <param name="css">A string containing a style-sheet for inlining.</param>
89
90
/// <param name="stripIdAndClassAttributes">True to strip ID and class attributes</param>
90
91
/// <param name="removeComments">True to remove comments, false to leave them intact</param>
92
+
/// <param name="preserveMediaQueries">If set to true and removeStyleElements is true, it will instead preserve unsupported media queries in the style node and remove the other css, instead of removing the whole style node</param>
91
93
/// <returns>Returns the html input, with styles moved to inline attributes.</returns>
/// <param name="css">A string containing a style-sheet for inlining.</param>
106
108
/// <param name="stripIdAndClassAttributes">True to strip ID and class attributes</param>
107
109
/// <param name="removeComments">True to remove comments, false to leave them intact</param>
110
+
/// <param name="preserveMediaQueries">If set to true and removeStyleElements is true, it will instead preserve unsupported media queries in the style node and remove the other css, instead of removing the whole style node</param>
108
111
/// <returns>Returns the html input, with styles moved to inline attributes.</returns>
/// <param name="css">A string containing a style-sheet for inlining.</param>
123
126
/// <param name="stripIdAndClassAttributes">True to strip ID and class attributes</param>
124
127
/// <param name="removeComments">True to remove comments, false to leave them intact</param>
128
+
/// <param name="preserveMediaQueries">If set to true and removeStyleElements is true, it will instead preserve unsupported media queries in the style node and remove the other css, instead of removing the whole style node</param>
125
129
/// <returns>Returns the html input, with styles moved to inline attributes.</returns>
/// <param name="css">A string containing a style-sheet for inlining.</param>
137
141
/// <param name="stripIdAndClassAttributes">True to strip ID and class attributes</param>
138
142
/// <param name="removeComments">True to remove comments, false to leave them intact</param>
143
+
/// <param name="preserveMediaQueries">If set to true and removeStyleElements is true, it will instead preserve unsupported media queries in the style node and remove the other css, instead of removing the whole style node</param>
139
144
/// <returns>Returns the html input, with styles moved to inline attributes.</returns>
0 commit comments