Cleanup HTML decoding fix.

This commit is contained in:
jdpurcell 2015-01-06 01:20:19 +00:00
parent 132b1dc281
commit a3c9ac642a
1 changed files with 1 additions and 2 deletions

View File

@ -74,7 +74,7 @@ namespace BizHawk.Client.EmuHawk
{
try
{
string latestVersionInfo = DownloadURLAsString(_latestVersionInfoURL);
string latestVersionInfo = WebUtility.HtmlDecode(DownloadURLAsString(_latestVersionInfoURL));
LatestVersion = GetVersionNumberFromVersionInfo(latestVersionInfo);
}
@ -107,7 +107,6 @@ namespace BizHawk.Client.EmuHawk
private static string GetTextFromTag(string info, string tagName)
{
info = info.Replace("[", "[").Replace("]", "]").Replace("/", "/");
string openTag = "[" + tagName + "]";
string closeTag = "[/" + tagName + "]";
int start = info.IndexOf(openTag, StringComparison.OrdinalIgnoreCase);