Fixes #325 - Unescape overview from themoviedb provider (some movies contain escaped chars)

pull/702/head
Luis Miguel Almánzar 12 years ago
parent 7731536c79
commit bc69a24834

@ -38,6 +38,7 @@
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Net" />
<Reference Include="System.Web" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />

@ -675,7 +675,7 @@ namespace MediaBrowser.Providers.Movies
}
if (!movie.LockedFields.Contains(MetadataFields.Overview))
{
movie.Overview = movieData.overview;
movie.Overview = System.Web.HttpUtility.HtmlDecode(movieData.overview);
}
movie.Overview = movie.Overview != null ? movie.Overview.Replace("\n\n", "\n") : null;
movie.HomePageUrl = movieData.homepage;

Loading…
Cancel
Save