diff --git a/UI/MailPartViewers/UIxMailPartICalViewer.h b/UI/MailPartViewers/UIxMailPartICalViewer.h index 1ffde026e..bf12be30a 100644 --- a/UI/MailPartViewers/UIxMailPartICalViewer.h +++ b/UI/MailPartViewers/UIxMailPartICalViewer.h @@ -46,6 +46,8 @@ - (BOOL) isEndDateOnSameDay; - (BOOL) hasLocation; - (NSString *)location; +- (NSString *) userComment; +- (NSString *) eventDescription; @end diff --git a/UI/MailPartViewers/UIxMailPartICalViewer.m b/UI/MailPartViewers/UIxMailPartICalViewer.m index f7cba20fd..d6dedac4b 100644 --- a/UI/MailPartViewers/UIxMailPartICalViewer.m +++ b/UI/MailPartViewers/UIxMailPartICalViewer.m @@ -32,6 +32,7 @@ #import #import +#import #import @@ -612,4 +613,14 @@ return [[self inEvent] location]; } +- (NSString *) userComment +{ + return [[[self inEvent] userComment] stringByEscapingHTMLString]; +} + +- (NSString *) eventDescription +{ + return [[[self authorativeEvent] comment] stringByEscapingHTMLString]; +} + @end /* UIxMailPartICalViewer */ diff --git a/UI/Templates/MailPartViewers/UIxMailPartICalViewer.wox b/UI/Templates/MailPartViewers/UIxMailPartICalViewer.wox index 873554c04..5ebf7a6b3 100644 --- a/UI/Templates/MailPartViewers/UIxMailPartICalViewer.wox +++ b/UI/Templates/MailPartViewers/UIxMailPartICalViewer.wox @@ -17,7 +17,7 @@ -
+
@@ -137,7 +137,7 @@

-

@@ -147,7 +147,7 @@

- + @@ -233,14 +233,14 @@ - +

-
+
- +
@@ -251,7 +251,7 @@
-
+
@@ -268,7 +268,7 @@
-
+
@@ -294,14 +294,14 @@
- +
- +