summaryrefslogtreecommitdiff
path: root/plugins/notify
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/notify')
-rw-r--r--plugins/notify/notify.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/notify/notify.c b/plugins/notify/notify.c
index 10ebd959..ea382b16 100644
--- a/plugins/notify/notify.c
+++ b/plugins/notify/notify.c
@@ -163,6 +163,11 @@ esc_xml (const char *cmd, char *esc, int size) {
dst += 6;
src++;
}
+ else if (*src == '\\' && *(src+1) == 'n') {
+ strcpy (dst, "\n");
+ dst++;
+ src+=2;
+ }
else {
*dst++ = *src++;
}