From b7d15277e1909bbaef96cd8e4892318eb38c3776 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 12 Nov 2014 01:46:18 -0800 Subject: [PATCH] Client: notice bodies were being XML-escaped one time too many --- client/client_msgs.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/client/client_msgs.cpp b/client/client_msgs.cpp index 30c5a6976a..024898f470 100644 --- a/client/client_msgs.cpp +++ b/client/client_msgs.cpp @@ -93,11 +93,9 @@ void show_message( case MSG_SCHEDULER_ALERT: char buf[1024]; if (is_html) { - xml_escape(message, buf, 1024); + strcpy(buf, message); } else { - char buf2[1024]; - xml_escape(message, buf2, 1024); - xml_escape(buf2, buf, 1024); + xml_escape(message, buf, 1024); } NOTICE n; n.description = buf;