From 20e1983d37454bcf7b68ed84fe453bcf999bcd40 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 12 Apr 2004 12:28:35 +0000 Subject: [PATCH] using htmlspecialchars from the html-class --- etemplate/inc/class.link_widget.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.link_widget.inc.php b/etemplate/inc/class.link_widget.inc.php index b1f318a493..756a193646 100644 --- a/etemplate/inc/class.link_widget.inc.php +++ b/etemplate/inc/class.link_widget.inc.php @@ -55,7 +55,7 @@ foreach ($value as $link) { $str .= ($str !== '' ? ', ' : '') . $tmpl->html->a_href( - htmlentities($this->link->title($link['app'],$link['id'])), + $tmpl->html->htmlspecialchars($this->link->title($link['app'],$link['id'])), $this->link->view($link['app'],$link['id'],$link)); } }