diff --git a/phpgwapi/inc/class.translation.inc.php b/phpgwapi/inc/class.translation.inc.php index a5e662652a..ce00aade66 100644 --- a/phpgwapi/inc/class.translation.inc.php +++ b/phpgwapi/inc/class.translation.inc.php @@ -983,7 +983,8 @@ class translation if ($_body) { if ($singleton) { - $_body = preg_replace('~<'.$tag.'[^>].*? '.$endtag.'~simU','',$_body); + //$_body = preg_replace('~<'.$tag.'[^>].*? '.$endtag.'~simU','',$_body); + $_body = preg_replace('~].* '.$endtag.'~simU','',$_body); // we are in Ungreedy mode, so we expect * to be ungreedy without specifying ? } else {