(ded4a3e0a) v0.9.0.7

This commit is contained in:
Joonas Rikkonen
2019-06-25 16:00:44 +03:00
parent e5ae622c77
commit 4a51db77b5
1777 changed files with 421528 additions and 917 deletions
@@ -0,0 +1,26 @@
using System;
using System.Security;
namespace MonoGame.Tools.Pipeline
{
public static class StringExtensions
{
public static string Unescape(this string text)
{
if (string.IsNullOrEmpty(text))
return text;
var result = Uri.UnescapeDataString(text);
// JCF: XmlReader already does this.
/*
result = result.Replace("'", "'");
result = result.Replace(""", "\"");
result = result.Replace(">", ">");
result = result.Replace("&", "&");
*/
return result;
}
}
}