[gthumb] use the escaped text
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] use the escaped text
- Date: Sun, 6 Nov 2011 08:48:38 +0000 (UTC)
commit 732c04c030be01362fcd1f58fc8803b5ca20958b
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Nov 6 09:32:49 2011 +0100
use the escaped text
gthumb/gth-cell-renderer-caption.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-cell-renderer-caption.c b/gthumb/gth-cell-renderer-caption.c
index 3c992d5..95b74c1 100644
--- a/gthumb/gth-cell-renderer-caption.c
+++ b/gthumb/gth-cell-renderer-caption.c
@@ -150,7 +150,7 @@ _gth_cell_renderer_caption_update_text (GthCellRendererCaption *self)
}
escaped = g_markup_escape_text (value, -1);
- g_string_append_printf (metadata, "<span%s>%s</span>", (odd ? ODD_ROW_ATTR_STYLE : EVEN_ROW_ATTR_STYLE), value);
+ g_string_append_printf (metadata, "<span%s>%s</span>", (odd ? ODD_ROW_ATTR_STYLE : EVEN_ROW_ATTR_STYLE), escaped);
g_free (escaped);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]