Do not remove empty entries in MiniYaml.FromString

This commit is contained in:
Taryn Hill
2016-06-17 10:38:06 -05:00
parent 16a18e8de1
commit ec40623052

View File

@@ -254,7 +254,7 @@ namespace OpenRA
public static List<MiniYamlNode> FromString(string text, string fileName = "<no filename available>")
{
return FromLines(text.Split(new[] { "\r\n", "\n" }, StringSplitOptions.RemoveEmptyEntries), fileName);
return FromLines(text.Split(new[] { "\r\n", "\n" }, StringSplitOptions.None), fileName);
}
public static List<MiniYamlNode> Merge(IEnumerable<List<MiniYamlNode>> sources)