Skip to content

Commit

Permalink
[F] HtmlDecode episodeNames (fixes "&lt;" instead of "<" and related …
Browse files Browse the repository at this point in the history
…chars)
  • Loading branch information
Baine committed Apr 27, 2020
1 parent 8aae2d0 commit 717659e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Shoko.Desktop/ViewModel/Server/VM_AnimeEpisode_User.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Net;
using System.Web.Script.Serialization;
using System.Xml.Serialization;
using Newtonsoft.Json;
Expand Down Expand Up @@ -181,7 +182,7 @@ public string EpisodeFullTypeAndNumber
[ScriptIgnore, JsonIgnore, XmlIgnore]
public string EpisodeName
{
get => episodeName;
get => WebUtility.HtmlDecode(episodeName);
set
{
this.SetField(()=>episodeName,value);
Expand Down

0 comments on commit 717659e

Please sign in to comment.