From 11d282388ac6522ff5846242ee72130f282cc285 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 1 Apr 2013 14:55:56 -0400 Subject: [PATCH] better dashboard background and text adjustments --- MediaBrowser.Common/Extensions/BaseExtensions.cs | 2 +- MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/MediaBrowser.Common/Extensions/BaseExtensions.cs b/MediaBrowser.Common/Extensions/BaseExtensions.cs index f91ddfbd5..604b2bdd2 100644 --- a/MediaBrowser.Common/Extensions/BaseExtensions.cs +++ b/MediaBrowser.Common/Extensions/BaseExtensions.cs @@ -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(); } /// diff --git a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj index 8842e4352..67db868ca 100644 --- a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj +++ b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj @@ -144,6 +144,12 @@ PreserveNewest + + PreserveNewest + + + PreserveNewest + PreserveNewest