diff --git a/includes/components/frontend/iconelement.class.php b/includes/components/frontend/iconelement.class.php index a9fdac67..d5ab685e 100644 --- a/includes/components/frontend/iconelement.class.php +++ b/includes/components/frontend/iconelement.class.php @@ -102,7 +102,7 @@ class IconElement } if ($this->href) - ($a = $dom->createElement('a', $this->text))->setAttribute('href', $this->href); + ($a = $dom->createElement('a', htmlentities($this->text)))->setAttribute('href', $this->href); else $a = $dom->createTextNode($this->text);