diff --git a/src/Config.cpp b/src/Config.cpp index 71cb603..6b580f1 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -99,6 +99,10 @@ void ApplyProperty(std::pair& propertyToSet, const std::string_vi size_t endBefore = before.find_last_not_of(whitespace); before = before.substr(beginBefore, endBefore - beginBefore + 1); + // Strip whitespace for after + size_t beginAfter = after.find_first_not_of(whitespace); + after = after.substr(beginAfter); + ApplyProperty(propertyToSet.first, before); ApplyProperty(propertyToSet.second, after); }