X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/78366f4312a1f156f66e89e28a492263af2b6c4a..e31b1aa5cdaa00546d528e69d095ee0412a1d400:/pear_lib_tmp/HTML/Link.php?ds=sidebyside
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;