diff --git a/notification.c b/notification.c index 4eaa92d..e3d3b47 100644 --- a/notification.c +++ b/notification.c @@ -298,6 +298,10 @@ int notification_init(notification * n, int id) if (!settings.allow_markup) n->msg = notification_fix_markup(n->msg); + else if (!settings.ignore_newline) { + n->msg = string_replace("
", "\n", n->msg); + n->msg = string_replace("
", "\n", n->msg); + } while (strstr(n->msg, "\\n") != NULL) n->msg = string_replace("\\n", "\n", n->msg);