Index: node_export.module =================================================================== --- node_export.module (revision 499) +++ node_export.module (working copy) @@ -857,7 +857,8 @@ } else { if (is_string($var)) { - return "'". addslashes($var) ."'"; + // Escape single quotes so we dont' accidently exit the string. + return "'". strtr($var, array("'" => "\\'")) ."'"; } elseif (is_numeric($var)) { return $var; @@ -888,9 +889,6 @@ if (is_array($v)) { $array[$k] = node_export_node_decode_objects($v); } - if (is_string($v)) { - $array[$k] = stripslashes($v); - } } if ($array['#_export_node_encode_object']) { unset($array['#_export_node_encode_object']);