diff --git a/src/DbUtils.php b/src/DbUtils.php index 49bb83f81cb..fe9edc604ee 100644 --- a/src/DbUtils.php +++ b/src/DbUtils.php @@ -1501,7 +1501,7 @@ public function getTreeValueCompleteName($table, $ID, $withcomment = false, $tra $acomment .= $country; } if (trim($acomment != '')) { - $comment .= " " . __s('Address:') . " " . $acomment . "
"; + $comment .= " " . __s('Address:') . " " . htmlspecialchars($acomment) . "
"; } } $comment .= " " . __s('Comments') . " ";