delete margin-top TCPDF <u> (#29737)
* delete margin-top TCPDF <u> * pre-commit
This commit is contained in:
parent
b3900964b5
commit
a26113bcb5
1 changed files with 5 additions and 1 deletions
|
|
@ -1449,7 +1449,11 @@ function pdf_writelinedesc(&$pdf, $object, $i, $outputlangs, $w, $h, $posx, $pos
|
|||
$nbrep = 0;
|
||||
$labelproductservice = preg_replace('/(<img[^>]*src=")([^"]*)(&)([^"]*")/', '\1\2&\4', $labelproductservice, -1, $nbrep);
|
||||
|
||||
//var_dump($labelproductservice);exit;
|
||||
if (getDolGlobalString('MARGIN_TOP_ZERO_UL')) {
|
||||
$pdf->setListIndentWidth(5);
|
||||
$TMarginList = ['ul' => [['h'=>0.1, ],['h'=>0.1, ]], 'li' => [['h'=>0.1, ],],];
|
||||
$pdf->setHtmlVSpace($TMarginList);
|
||||
}
|
||||
|
||||
// Description
|
||||
$pdf->writeHTMLCell($w, $h, $posx, $posy, $outputlangs->convToOutputCharset($labelproductservice), 0, 1, false, true, 'J', true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue