lib/cpee/processtransformation/cpee.rb in cpee-1.3.155 vs lib/cpee/processtransformation/cpee.rb in cpee-1.3.156

- old
+ new

@@ -74,10 +74,10 @@ n.attributes['output'] = node.script_var unless node.script_var.nil? n.attributes['language'] = node.script_type unless node.script_type.nil? else n = res.add('d:call', 'id' => "a#{node.niceid}", 'endpoint' => node.endpoints.join(',')) p = n.add('d:parameters') - p.add('d:label',node.label) + p.add('d:label',"\"#{node.label.gsub(/"/,"\\\"")}\"") p.add('d:method',node.methods.join(',') || 'post') p.add('d:type',":#{node.type}") p.add('d:mid',"'#{node.id}'") par = p.add('d:parameters') node.parameters.each do |k,v|