Add comment on a bugged option
This commit is contained in:
parent
5a1f54f47f
commit
16c28b505b
@ -1363,6 +1363,7 @@ function pdf_getlinedesc($object, $i, $outputlangs, $hideref = 0, $hidedesc = 0,
|
|||||||
// Description short of product line
|
// Description short of product line
|
||||||
$libelleproduitservice = $label;
|
$libelleproduitservice = $label;
|
||||||
if (!empty($libelleproduitservice) && !empty($conf->global->PDF_BOLD_PRODUCT_LABEL)) {
|
if (!empty($libelleproduitservice) && !empty($conf->global->PDF_BOLD_PRODUCT_LABEL)) {
|
||||||
|
// This part of code is bugged. It introduces a HTML tag making the label a html string but without converting \n into br if it was a full text non html string before.
|
||||||
$libelleproduitservice = '<b>'.$libelleproduitservice.'</b>';
|
$libelleproduitservice = '<b>'.$libelleproduitservice.'</b>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user