[geary] Escape markup in conversation list: Closes bgo#724327



commit 983c48eacf6500ac54094e41fed3a65e1c0215ad
Author: Jim Nelson <jim yorba org>
Date:   Fri Feb 14 15:05:02 2014 -0800

    Escape markup in conversation list: Closes bgo#724327

 .../formatted-conversation-data.vala               |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/client/conversation-list/formatted-conversation-data.vala 
b/src/client/conversation-list/formatted-conversation-data.vala
index 586b97f..65e02ae 100644
--- a/src/client/conversation-list/formatted-conversation-data.vala
+++ b/src/client/conversation-list/formatted-conversation-data.vala
@@ -338,7 +338,7 @@ public class FormattedConversationData : Geary.BaseObject {
         Cairo.Context? ctx, int y, bool selected) {
         string date_markup = "<span foreground='%s'>%s</span>".printf(
             rgba_to_markup(dim_rgba(get_foreground_rgba(widget, selected), DIM_TEXT_AMOUNT)),
-            date);
+            Geary.HTML.escape_markup(date));
         
         Pango.Rectangle? ink_rect;
         Pango.Rectangle? logical_rect;
@@ -380,7 +380,7 @@ public class FormattedConversationData : Geary.BaseObject {
         int y, bool selected, int counter_width = 0) {
         string subject_markup = "<span foreground='%s'>%s</span>".printf(
             rgba_to_markup(dim_rgba(get_foreground_rgba(widget, selected), DIM_TEXT_AMOUNT)),
-            subject);
+            Geary.HTML.escape_markup(subject));
         
         Pango.FontDescription font_subject = new Pango.FontDescription();
         font_subject.set_size(FONT_SIZE_SUBJECT * Pango.SCALE);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]