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')) {