From 5d26175d562d1333c727d5c86104510b82dae9a3 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Thu, 7 Apr 2016 09:27:26 -0400 Subject: [PATCH] (fix) don't escape \r --- SoObjects/SOGo/NSString+Utilities.m | 4 ---- 1 file changed, 4 deletions(-) diff --git a/SoObjects/SOGo/NSString+Utilities.m b/SoObjects/SOGo/NSString+Utilities.m index 2f5585a1f..a2cffdc38 100644 --- a/SoObjects/SOGo/NSString+Utilities.m +++ b/SoObjects/SOGo/NSString+Utilities.m @@ -363,10 +363,6 @@ static int cssEscapingCount; for (i = 0, j = 0; i < len; i++) { switch (chars[i]) { /* escape special chars */ - case '\r': - buf[j] = '&'; j++; buf[j] = '#'; j++; buf[j] = '1'; j++; - buf[j] = '3'; j++; buf[j] = ';'; j++; - break; case '&': buf[j] = '&'; j++; buf[j] = 'a'; j++; buf[j] = 'm'; j++; buf[j] = 'p'; j++; buf[j] = ';'; j++;