diff -r 2b826f2640e9 -r 94214ec0871c includes/lang.php --- a/includes/lang.php Sun Apr 06 14:02:20 2008 -0400 +++ b/includes/lang.php Sun Apr 06 15:30:39 2008 -0400 @@ -389,8 +389,7 @@ $contents =& $block[0]['value']; // Trim off all text before and after the starting and ending braces - $contents = preg_replace('/^([^{]+)\{/', '{', $contents); - $contents = preg_replace('/\}([^}]+)$/', '}', $contents); + $contents = enano_trim_json($contents); // Correct syntax to be nice to the json parser $contents = enano_clean_json($contents);