better dashboard background and text adjustments

This commit is contained in:
Luke Pulverenti
2013-04-01 14:55:56 -04:00
parent 2e6067bd47
commit 11d282388a
2 changed files with 7 additions and 1 deletions

View File

@@ -53,7 +53,7 @@ namespace MediaBrowser.Common.Extensions
{
// http://stackoverflow.com/questions/1349023/how-can-i-strip-html-from-text-in-net
const string pattern = @"<(.|\n)*?>";
return Regex.Replace(htmlString, pattern, string.Empty);
return Regex.Replace(htmlString, pattern, string.Empty).Trim();
}
/// <summary>