X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=includes%2Ftidy%2FHtml5Depurate.php;h=c6acd661f22d3761eda2602a6f96db0b9fdf728a;hb=12ff4dec05ff8bb1a1910bf6745155b93e1912b5;hp=a34933ca1d12f698871a5b819e20b5705e8f20bc;hpb=fb7b3eebeb8de47eb42e8d6ccf204106a2d6d9e4;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/tidy/Html5Depurate.php b/includes/tidy/Html5Depurate.php index a34933ca1d..c6acd661f2 100644 --- a/includes/tidy/Html5Depurate.php +++ b/includes/tidy/Html5Depurate.php @@ -29,9 +29,10 @@ class Html5Depurate extends TidyDriverBase { ] ); $status = $req->execute(); if ( !$status->isOK() ) { - throw new Exception( "Error contacting depurate service: " . $status->getWikiText() ); + throw new Exception( "Error contacting depurate service: " + . $status->getWikiText( false, false, 'en' ) ); } elseif ( $req->getStatus() !== 200 ) { - throw new Exception( "Depurate returned error: " . $status->getWikiText() ); + throw new Exception( "Depurate returned error: " . $status->getWikiText( false, false, 'en' ) ); } $result = $req->getContent(); $startBody = strpos( $result, "" );