diff --git a/soap/datenverbund_client.php b/soap/datenverbund_client.php
index f751e2498..a3b0982f8 100644
--- a/soap/datenverbund_client.php
+++ b/soap/datenverbund_client.php
@@ -469,7 +469,14 @@ if (isset($_REQUEST['submit']))
break;
}
if (isset($_POST['debug']))
- echo '
'.nl2br(htmlentities($dvb->debug_output)).'
';
+ {
+ $output = nl2br(htmlentities($dvb->debug_output));
+ $output = str_replace('><','>
<',$output);
+ $output = preg_replace('/(<uni:.*?>)/','$1',$output);
+ $output = preg_replace('/(<\/uni:.*?>)/','$1',$output);
+
+ echo ''.$output.'
';
+ }
}
?>