[gnome-maps] placeBubble: Only escape pure text
- From: Jonas Danielsson <jonasdn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] placeBubble: Only escape pure text
- Date: Sat, 30 Jan 2016 10:45:54 +0000 (UTC)
commit 4bbf8d93c880ecf0bbda103955e326a09f600403
Author: Jonas Danielsson <jonas threetimestwo org>
Date: Sat Jan 30 11:45:42 2016 +0100
placeBubble: Only escape pure text
src/placeBubble.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/placeBubble.js b/src/placeBubble.js
index 02c1b50..d4d41db 100644
--- a/src/placeBubble.js
+++ b/src/placeBubble.js
@@ -115,7 +115,7 @@ const PlaceBubble = new Lang.Class({
case 'country_code':
return _("Country code: %s").format(place[prop]);
default:
- return place[prop];
+ return GLib.markup_escape_text(place[prop], -1);
}
});
return row.join(', ');
@@ -139,7 +139,6 @@ const PlaceBubble = new Lang.Class({
}
infos.forEach((function(info) {
- info = GLib.markup_escape_text(info,-1);
let label = new Gtk.Label({ label: info,
visible: true,
use_markup: true,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]