diff --git a/ecrire/inc_statistiques.php3 b/ecrire/inc_statistiques.php3
index 846fbfdf3e189570352d77b7487f6d0aa2d94bbb..65e3385fb726f895281dc431b636b1bf3432cfb0 100644
--- a/ecrire/inc_statistiques.php3
+++ b/ecrire/inc_statistiques.php3
@@ -134,7 +134,7 @@ function stats_show_keywords($kw_referer, $kw_referer_host) {
 	if ($keywords != '')
 	{
 		if (strlen($keywords) > 50) $keywords = substr($keywords, 0, 48);
-		$buffer["keywords"] = trim(htmlspecialchars(stripslashes($keywords)));
+		$buffer["keywords"] = trim(entites_html(stripslashes($keywords)));
 	}
 
 	return $buffer;