[evolution-ews] Fix special case in Tasks. When creating a Task in Outlook with empty body, its add ' '. So we a
- From: Pavel Ocheretny <pocheretny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Fix special case in Tasks. When creating a Task in Outlook with empty body, its add ' '. So we a
- Date: Thu, 1 Sep 2011 08:18:58 +0000 (UTC)
commit 95392f483d1f9e06178d0d2b1e6a5d919f4ef758
Author: Pavel Ocheretny <pavel ocheretny intel com>
Date: Thu Sep 1 11:20:33 2011 +0300
Fix special case in Tasks. When creating a Task in Outlook with empty body, its add ' '. So we are cleaning it
src/server/e-ews-item.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/server/e-ews-item.c b/src/server/e-ews-item.c
index c6ebff0..735169c 100644
--- a/src/server/e-ews-item.c
+++ b/src/server/e-ews-item.c
@@ -798,7 +798,8 @@ strip_html_tags (const gchar *html_text)
*i, *j;
for (j = plain_text, i = start + 6; i < end; i++) {
- if (*i == '<') { while (*i != '>') i++; }
+ if (*i == '&') i = i + 6;
+ if (*i == '<') while (*i != '>') i++;
else { *j = *i; j++; }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]