[gnome-maps/wip/mlundblad/osm-add-location: 13/21] Escape markup in search results and placebubble



commit 65f3aa34c9b35f94e3052a911a77c21f72f51fd8
Author: Alaf Azam <alafazam gmail com>
Date:   Tue Jan 26 17:17:24 2016 +0530

    Escape markup in search results and placebubble
    
    https://bugzilla.gnome.org/show_bug.cgi?id=761090

 src/placeBubble.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/placeBubble.js b/src/placeBubble.js
index d4d41db..5b4dff6 100644
--- a/src/placeBubble.js
+++ b/src/placeBubble.js
@@ -139,6 +139,7 @@ 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]