Fix #8127 - performance issues - cache pulldowns
[roobuilder] / src / JsRender / NodeProp.vala
index 76bd895..9bc879b 100644 (file)
@@ -468,10 +468,10 @@ public class JsRender.NodeProp : Object {
                owned get {
                        
                         if (this._val.index_of("\n") < 0) {
-                               return this._val;
+                               return  GLib.Markup.escape_text(this._val);
                         }
                         var vals = this._val.split("\n");
-                        return vals[0]  + (vals.length > 1 ? " ..." : "");
+                        return GLib.Markup.escape_text(vals[0]  + (vals.length > 1 ? " ..." : ""));
                } 
        }