From 58175b76f26744c34eabd773900c8d12d85aa309 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Wed, 12 Dec 2018 12:17:28 +0100 Subject: [PATCH] to avoid html issue --- htdocs/core/class/commondocgenerator.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/commondocgenerator.class.php b/htdocs/core/class/commondocgenerator.class.php index e3350dbe14a..93b18e97641 100644 --- a/htdocs/core/class/commondocgenerator.class.php +++ b/htdocs/core/class/commondocgenerator.class.php @@ -1028,7 +1028,7 @@ abstract class CommonDocGenerator if(empty($columnText)) return; $pdf->SetXY($this->getColumnContentXStart($colKey),$curY); // Set curent position $colDef = $this->cols[$colKey]; - $pdf->MultiCell( $this->getColumnContentWidth($colKey),2, $columnText,'',$colDef['content']['align']); + $pdf->writeHTMLCell( $this->getColumnContentWidth($colKey),2,$this->getColumnContentXStart($colKey),$curY, $columnText,'',$colDef['content']['align']); } }