mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-09 19:18:22 +01:00
Fix: ajout de la dtection des caractres spciaux
This commit is contained in:
@@ -3219,6 +3219,7 @@ function dol_textishtml($msg,$option=0)
|
||||
elseif (eregi('<font',$msg)) return true;
|
||||
elseif (eregi('<strong',$msg)) return true;
|
||||
elseif (eregi('<img',$msg)) return true;
|
||||
elseif (eregi('&[A-Z0-9]+;',$msg)) return true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -241,8 +241,9 @@ class pdf_typhon extends ModelePDFDeliveryOrder
|
||||
|
||||
$pdf->SetFont('Arial','', 9); // Dans boucle pour g<>rer multi-page
|
||||
|
||||
$pdf->SetXY ($this->posxdesc-1, $curY);
|
||||
$pdf->MultiCell(108, 4, $libelleproduitservice, 0, 'J');
|
||||
$pdf->writeHTMLCell(108, 4, $this->posxdesc-1, $curY, $libelleproduitservice, 0, 1);
|
||||
|
||||
$pdf->SetFont('Arial','', 9); // On repositionne la police par d<>faut
|
||||
|
||||
$nexY = $pdf->GetY();
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user