diff --git a/scripts/lang_functions.php b/scripts/lang_functions.php index 38bd83b72..a6698560c 100644 --- a/scripts/lang_functions.php +++ b/scripts/lang_functions.php @@ -257,6 +257,7 @@ function build_lang($lang, $keys) { $text = str_replace('$a->', '$a.', $text); $text = str_replace('{$a', '{{$a', $text); $text = str_replace('}', '}}', $text); + $text = preg_replace('/@@.+?@@(
)?\\s*/', '', $text); // Prevent double. $text = str_replace(array('{{{', '}}}'), array('{{', '}}'), $text); } else {