fixed encoding on critic rating summary

This commit is contained in:
Luke Pulverenti 2013-12-07 21:45:09 -05:00
parent aa3933fb41
commit bec5a4f561

View File

@ -10,6 +10,7 @@ using MediaBrowser.Model.Serialization;
using System;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
@ -149,7 +150,7 @@ namespace MediaBrowser.Providers.Movies
&& !string.Equals(result.tomatoConsensus, "n/a", StringComparison.OrdinalIgnoreCase)
&& !string.Equals(result.tomatoConsensus, "No consensus yet.", StringComparison.OrdinalIgnoreCase))
{
hasCriticRating.CriticRatingSummary = result.tomatoConsensus;
hasCriticRating.CriticRatingSummary = WebUtility.HtmlDecode(result.tomatoConsensus);
}
}