mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°7571 - fix warning due to the new version of Html2Text lib
This commit is contained in:
@@ -2068,7 +2068,7 @@ SQL;
|
||||
{
|
||||
try {
|
||||
//return '<?xml encoding="UTF-8">'.$sHtml;
|
||||
return Html2Text::convert('<?xml encoding="UTF-8">'.$sHtml);
|
||||
return Html2Text::convert('<?xml encoding="UTF-8">'.$sHtml, ['ignore_errors' => true]);
|
||||
}
|
||||
catch (Exception $e) {
|
||||
return $e->getMessage();
|
||||
|
||||
Reference in New Issue
Block a user