diff --git a/inc_mode_boxes.php b/inc_mode_boxes.php
index a439eeb0e7f69d0b915ff2fa63811287a3b71fcd..0cf2051d675eb6e917dc7ed6424fef2db331a048 100644
--- a/inc_mode_boxes.php
+++ b/inc_mode_boxes.php
@@ -16,9 +16,9 @@ if (is_array($aIdplist) && count($aIdplist)) {
         $sOut .= '
                     <a href="' . $aEntry['_url']. '" 
                         class="idp"
-                        title="' . $aEntry['_description'] . '"
-                        >' . $aEntry['_label'] . '<br>
-                        <span class="hidden">' . $aEntry['_description'] . ' ' . $aEntry['_keywords'] . ' .'. $aEntry['_tld'] . '</span>
+                        title="' . str_replace('"', '',$aEntry['_description']) . '"
+                        >' . htmlentities($aEntry['_label']) . '<br>
+                        <span class="hidden">' . str_replace('"', '', $aEntry['_description'] . ' ' . $aEntry['_keywords']) . ' .'. $aEntry['_tld'] . '</span>
                         <img src="' . $aEntry['_image'] . '"><br>
                     </a>
                 '