[DatFile] Add encoding to file names

This commit is contained in:
Matt Nadareski
2016-09-23 16:47:29 -07:00
parent 2e1ca1f251
commit 251f6aae7b

View File

@@ -4381,7 +4381,7 @@ namespace SabreTools.Helper
{
TotalSize = Int64.MaxValue + TotalSize;
}
sw.Write("\t\t\t<tr><td>" + FileName + "</td>"
sw.Write("\t\t\t<tr><td>" + HttpUtility.HtmlEncode(FileName) + "</td>"
+ "<td>" + Style.GetBytesReadable(TotalSize) + "</td>"
+ "<td>" + (game == -1 ? Files.Count : game) + "</td>"
+ "<td>" + RomCount + "</td>"