diff --git a/htdocs/core/class/commonsocialnetworks.class.php b/htdocs/core/class/commonsocialnetworks.class.php
index 19928eb1dbb..91f8c220cce 100644
--- a/htdocs/core/class/commonsocialnetworks.class.php
+++ b/htdocs/core/class/commonsocialnetworks.class.php
@@ -67,7 +67,7 @@ trait CommonSocialNetworks
print '
| ';
print '';
if (!empty($value['icon'])) {
- print '';
+ print '';
}
print '';
print ' | ';
diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php
index fd43dcd3ccd..615e7967273 100644
--- a/htdocs/core/lib/functions.lib.php
+++ b/htdocs/core/lib/functions.lib.php
@@ -3311,7 +3311,7 @@ function dol_print_socialnetworks($value, $cid, $socid, $type, $dictsocialnetwor
if (!empty($type)) {
$htmllink = '';
// Use dictionary definition for picto $dictsocialnetworks[$type]['icon']
- $htmllink .= '
';
+ $htmllink .= '
';
if ($type == 'skype') {
$htmllink .= dol_escape_htmltag($value);
$htmllink .= '