--- lib/MT/Template/ContextHandlers.pm.orig Sun Mar 19 15:16:48 2006
+++ lib/MT/Template/ContextHandlers.pm Mon Mar 27 18:26:35 2006
@@ -2699,7 +2699,7 @@
eval {
$result = SOAP::Lite->service('file:' . $wsdl)
->doGoogleSearch($key, $query, 0, $max,
- 0, '', 0, '', 'latin1', 'latin1'
+ 1, '', 1, '', 'utf8', 'utf8'
);
};
warn $@, return '' if $@;
@@ -2725,6 +2725,7 @@
exists $res->{$prop}
or return $ctx->error(MT->translate(
'You used a non-existent property from the result structure.' ));
+ $res->{$prop} =~ s/
/
/g;
$res->{$prop} || '';
}