summaryrefslogtreecommitdiff
path: root/pith
diff options
context:
space:
mode:
Diffstat (limited to 'pith')
-rw-r--r--pith/ical.c8
-rw-r--r--pith/mailview.c1
2 files changed, 6 insertions, 3 deletions
diff --git a/pith/ical.c b/pith/ical.c
index cff1f542..950f4018 100644
--- a/pith/ical.c
+++ b/pith/ical.c
@@ -2201,8 +2201,10 @@ ical_vevent_summary(VCALENDAR_S *vcal)
if((icl = (ICLINE_S *) vevent->prop[EvPriority]) != NULL)
rv->priority = atoi(icl->value);
- if((icl = (ICLINE_S *) vevent->prop[EvSummary]) != NULL)
+ if((icl = (ICLINE_S *) vevent->prop[EvSummary]) != NULL){
rv->summary = cpystr(icl->value ? icl->value : _("No Summary"));
+ ical_remove_escapes(&rv->summary);
+ }
if((icl = (ICLINE_S *) vevent->prop[EvClass]) != NULL)
rv->class = cpystr(icl->value ? icl->value : _("PUBLIC"));
@@ -2237,8 +2239,10 @@ ical_vevent_summary(VCALENDAR_S *vcal)
}
} /* end of if(organizer) */
- if((icl = (ICLINE_S *) vevent->prop[EvLocation]) != NULL)
+ if((icl = (ICLINE_S *) vevent->prop[EvLocation]) != NULL){
rv->location = cpystr(icl->value ? icl->value : _("Location undisclosed"));
+ ical_remove_escapes(&rv->location);
+ }
if((icl = (ICLINE_S *) vevent->prop[EvDtstart]) != NULL){
struct tm ic_date;
diff --git a/pith/mailview.c b/pith/mailview.c
index a0aead24..79f6e882 100644
--- a/pith/mailview.c
+++ b/pith/mailview.c
@@ -333,7 +333,6 @@ format_calendar_vevent(VCALENDAR_S *vcal, ATTACH_S *a, HANDLE_S **handlesp, int
} /* end of if(organizer) */
if(vesy->location){
- ical_remove_escapes(&vesy->location);
utf8_snprintf(tmp_20k_buf, SIZEOF_20KBUF, "%s%s%s",
padding, _("Location: "), vesy->location);
gf_puts(tmp_20k_buf, pc);