Merge pull request #299 from LukeShu/fix-nl

Expand "\\n" to "\n" in the format string only; not message text.
This commit is contained in:
Nikos Tsipinakis 2017-02-23 16:24:07 +02:00 committed by GitHub
commit b034d31f80

View File

@ -267,7 +267,6 @@ char *notification_replace_format(const char *needle, const char *replacement,
}
tmp = string_replace_all("\\n", "\n", tmp);
if (settings.ignore_newline) {
tmp = string_replace_all("\n", " ", tmp);
}