fix import of product desc without wrong linebreaks
This commit is contained in:
parent
1ddcd2e709
commit
e5192de9f2
@ -3385,7 +3385,7 @@ class Form
|
|||||||
if (!empty($objp->idprodfournprice) && $objp->idprodfournprice > 0) {
|
if (!empty($objp->idprodfournprice) && $objp->idprodfournprice > 0) {
|
||||||
$opt .= ' data-qty="'.$objp->quantity.'" data-up="'.$objp->unitprice.'" data-discount="'.$outdiscount.'"';
|
$opt .= ' data-qty="'.$objp->quantity.'" data-up="'.$objp->unitprice.'" data-discount="'.$outdiscount.'"';
|
||||||
}
|
}
|
||||||
$opt .= ' data-description="'.dol_escape_htmltag($objp->description).'"';
|
$opt .= ' data-description="'.dol_escape_htmltag($objp->description, 0, 1).'"';
|
||||||
$opt .= ' data-html="'.dol_escape_htmltag($optlabel).'"';
|
$opt .= ' data-html="'.dol_escape_htmltag($optlabel).'"';
|
||||||
$opt .= '>';
|
$opt .= '>';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user