|
|
|
@ -202,8 +202,9 @@ namespace Ombi.Services.Jobs
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Send(newletterSettings, html, plexSettings, testEmail);
|
|
|
|
|
string escapedHtml = new string(html.Where(c => !char.IsControl(c)).ToArray());
|
|
|
|
|
Log.Debug(escapedHtml);
|
|
|
|
|
Send(newletterSettings, escapedHtml, plexSettings, testEmail);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void GenerateMovieHtml(List<RecentlyAddedChild> movies, PlexSettings plexSettings, StringBuilder sb)
|
|
|
|
@ -516,10 +517,12 @@ namespace Ombi.Services.Jobs
|
|
|
|
|
|
|
|
|
|
private void EndLoopHtml(StringBuilder sb)
|
|
|
|
|
{
|
|
|
|
|
//NOTE: BR have to be in TD's as per html spec or it will be put outside of the table...
|
|
|
|
|
//Source: http://stackoverflow.com/questions/6588638/phantom-br-tag-rendered-by-browsers-prior-to-table-tag
|
|
|
|
|
sb.Append("<hr />");
|
|
|
|
|
sb.Append("<br />");
|
|
|
|
|
sb.Append("<br />");
|
|
|
|
|
sb.Append("</td>");
|
|
|
|
|
sb.Append("<hr>");
|
|
|
|
|
sb.Append("<br>");
|
|
|
|
|
sb.Append("<br>");
|
|
|
|
|
sb.Append("</tr>");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|