Skip to content

Commit

Permalink
Added cData tag when serializing expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
hybridmindset committed Oct 28, 2011
1 parent cac1ac8 commit e200759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/pblabs/engine/scripting/ExpressionReference.as
Expand Up @@ -67,7 +67,7 @@ package com.pblabs.engine.scripting
*/
public function serialize(xml:XML):void
{
var expressionXML : XML = new XML(_expression);
var expressionXML : XML = new XML("<![CDATA["+ _expression +"]]>");
if(_dynamicThisObject && _dynamicThisObject.Self && _dynamicThisObject.Self["name"])
{
xml.@thisObjectName = _dynamicThisObject.Self.name;
Expand Down

0 comments on commit e200759

Please sign in to comment.