From 717659ebe5c135f96ba47abd5d8834d1d7edf112 Mon Sep 17 00:00:00 2001 From: Baine Date: Mon, 27 Apr 2020 13:37:49 +0200 Subject: [PATCH] [F] HtmlDecode episodeNames (fixes "<" instead of "<" and related chars) --- Shoko.Desktop/ViewModel/Server/VM_AnimeEpisode_User.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Shoko.Desktop/ViewModel/Server/VM_AnimeEpisode_User.cs b/Shoko.Desktop/ViewModel/Server/VM_AnimeEpisode_User.cs index 5a2f56c2..940809d0 100644 --- a/Shoko.Desktop/ViewModel/Server/VM_AnimeEpisode_User.cs +++ b/Shoko.Desktop/ViewModel/Server/VM_AnimeEpisode_User.cs @@ -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; @@ -181,7 +182,7 @@ public string EpisodeFullTypeAndNumber [ScriptIgnore, JsonIgnore, XmlIgnore] public string EpisodeName { - get => episodeName; + get => WebUtility.HtmlDecode(episodeName); set { this.SetField(()=>episodeName,value);