From 4c87979cac4df6560145b96d440aeba967466951 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 27 May 2014 10:35:29 -0400 Subject: handle overview stripping --- MediaBrowser.Server.Implementations/Dto/DtoService.cs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'MediaBrowser.Server.Implementations') diff --git a/MediaBrowser.Server.Implementations/Dto/DtoService.cs b/MediaBrowser.Server.Implementations/Dto/DtoService.cs index 3ca70de16..dae0470cf 100644 --- a/MediaBrowser.Server.Implementations/Dto/DtoService.cs +++ b/MediaBrowser.Server.Implementations/Dto/DtoService.cs @@ -773,9 +773,17 @@ namespace MediaBrowser.Server.Implementations.Dto if (fields.Contains(ItemFields.Overview)) { - var strippedOverview = string.IsNullOrEmpty(item.Overview) ? item.Overview : item.Overview.StripHtml(); + // TODO: Remove this after a while, since it's been moved to the providers + if (item is MusicArtist) + { + var strippedOverview = string.IsNullOrEmpty(item.Overview) ? item.Overview : item.Overview.StripHtml(); - dto.Overview = strippedOverview; + dto.Overview = strippedOverview; + } + else + { + dto.Overview = item.Overview; + } } // If there are no backdrops, indicate what parent has them in case the Ui wants to allow inheritance -- cgit v1.2.3