Fix unicode replacement

This commit is contained in:
Michael Bucari-Tovo 2022-06-19 17:29:46 -06:00
parent 490d121db3
commit 733ca891de
2 changed files with 57 additions and 3 deletions

View file

@ -12,7 +12,7 @@ namespace FileManager
var tagValue = Template;
foreach (var r in ParameterReplacements)
tagValue = tagValue.Replace($"<{formatKey(r.Key)}>", r.Value.ToString());
tagValue = tagValue.Replace($"<{formatKey(r.Key)}>", r.Value?.ToString() ?? "");
return tagValue;
}