From 6c8b555ae79f4d915a95b21b62aa205a10d5b8d3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mart=C3=ADn=20Marrese?= Date: Mon, 28 Jul 2003 19:00:12 +0000 Subject: [PATCH] Se arregla un bug. --- pear_lib_tmp/HTML/Link.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pear_lib_tmp/HTML/Link.php b/pear_lib_tmp/HTML/Link.php index 2059785..6e508ae 100644 --- a/pear_lib_tmp/HTML/Link.php +++ b/pear_lib_tmp/HTML/Link.php @@ -127,7 +127,7 @@ class HTML_Link extends HTML_Common { } $attrs .= ' ' . $key . '="' . htmlentities($val) . '"'; } - return "" . htmlentities($this->getContents()) . ''; + return "" . $this->getContents() . ''; } // -X2C @@ -244,7 +244,7 @@ If they doesn't exists, they are added, if they exists, they are updated. if (is_object($c) and method_exists($c, 'tohtml')) { $html .= $c->toHtml(); } else { - $html .= $c; + $html .= htmlentities($c); } } return $html; -- 2.43.0