diff --git a/data/config b/data/config index d1a513a..0802366 100644 --- a/data/config +++ b/data/config @@ -8,8 +8,9 @@ # - After the value # # String variables can be escaped ([Notation in config] -> "Result"): -# - foo\\bar -> "foobar" +# - foo\\bar -> "foobar" # - foo\nbar -> "foobar" +# - foo\sbar -> "foo bar" # The following three options control the ordering of the widgets. # Reordering can cause slight margin inconsistencies, diff --git a/src/Config.cpp b/src/Config.cpp index b61c265..488f67a 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -23,6 +23,7 @@ void ApplyProperty(std::string& propertyToSet, const std::string_vi Utils::Replace(propertyToSet, "\\n", "\n"); Utils::Replace(propertyToSet, "\\\\", "\\"); Utils::Replace(propertyToSet, "\\t", "\t"); + Utils::Replace(propertyToSet, "\\s", " "); } template<>