summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/IOL.Helpers/StringHelpers.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/IOL.Helpers/StringHelpers.cs b/src/IOL.Helpers/StringHelpers.cs
index c090117..3f80d6e 100644
--- a/src/IOL.Helpers/StringHelpers.cs
+++ b/src/IOL.Helpers/StringHelpers.cs
@@ -32,6 +32,7 @@ namespace IOL.Helpers
var matchList = Regex.Matches(input, "");
foreach (var key in matchList.Select(match => match.Value)) {
var value = configuration.GetValue<string>(key);
+ if (string.IsNullOrWhiteSpace(value)) continue;
input = input.Replace(key, value);
}