IconElement/Fixup
* a DOMElements text value must be escaped manually (e.g. Foror & Tigule)
This commit is contained in:
parent
a7e9ac2cf2
commit
e300086cc8
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue