src/JsRender/NodeToJs.vala
authorAlan Knowles <alan@roojs.com>
Thu, 18 Jun 2015 13:42:51 +0000 (21:42 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 18 Jun 2015 13:42:51 +0000 (21:42 +0800)
src/JsRender/NodeToJs.vala

index e94a249..38be8e9 100644 (file)
@@ -452,7 +452,7 @@ public class JsRender.NodeToJs : Object {
                Regex func_regex ;
 
                if (this.node.props.has_key("$ xns")) {
-                       this.out_props.set("'|xns'", this.node.props.get("$ xns") );
+                       this.out_props.set("'|xns'", "'" +  this.node.props.get("$ xns") + "'" );
                        
                        this.els.add("'|xns' : '" + this.node.props.get("$ xns") + "'");