When making a dir2dat, the "clean" routine overdoes it when translating the apostrophes, Fixed by changing order of code.

This commit is contained in:
gjefferyes
2015-09-16 17:20:58 -05:00
parent c04bb9d070
commit 0817f01538

View File

@@ -57,11 +57,11 @@ namespace ROMVault2
private static string clean(string s) private static string clean(string s)
{ {
s = s.Replace("&", "&");
s = s.Replace("\"", """); s = s.Replace("\"", """);
s = s.Replace("'", "'"); s = s.Replace("'", "'");
s = s.Replace("<", "&lt;"); s = s.Replace("<", "&lt;");
s = s.Replace(">", "&gt;"); s = s.Replace(">", "&gt;");
s = s.Replace("&", "&amp;");
return s; return s;
} }