From 2ad6a1dc203945da2d61ee9ea005d65a7acdf361 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 24 Jul 2024 18:25:33 +0200 Subject: [PATCH] Fix look and feel v20 --- htdocs/product/card.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/product/card.php b/htdocs/product/card.php index 6ea9c3f8848..14bdea78905 100644 --- a/htdocs/product/card.php +++ b/htdocs/product/card.php @@ -2121,7 +2121,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio // Description (used in invoice, propal...) print ''.$langs->trans("Description").''; - // We use dolibarr_details as type of DolEditor here, because we must not accept images as description is included into PDF and not accepted by TCPDF. + // We use dolibarr_details as type of DolEditor here, because we must not accept images, as description is included into PDF and external links are not accepted by TCPDF. $doleditor = new DolEditor('desc', GETPOSTISSET('desc') ? GETPOST('desc', 'restricthtml') : $object->description, '', 160, 'dolibarr_details', '', false, true, getDolGlobalInt('FCKEDITOR_ENABLE_DETAILS'), ROWS_4, '90%'); $doleditor->Create(); @@ -2643,7 +2643,8 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio } // Description - print ''.$langs->trans("Description").''.(dol_textishtml($object->description) ? $object->description : dol_nl2br($object->description, 1, true)).''; + print ''.$langs->trans("Description").''; + print '
'.(dol_textishtml($object->description) ? $object->description : dol_nl2br($object->description, 1, true)).'
'; // Public URL if (!getDolGlobalString('PRODUCT_DISABLE_PUBLIC_URL')) {