Fix a double entity
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Wed, 9 Jan 2008 21:56:21 +0000 (22:56 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Wed, 9 Jan 2008 21:56:21 +0000 (22:56 +0100)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
plugins/function.display_address.php

index 9f8c457..07ce7c3 100644 (file)
@@ -67,9 +67,9 @@ function smarty_function_display_address($param, &$smarty)
     if ($param['titre'])
     {
         if ($param['titre_div'])
-            $txthtml .= "<div class='titre'>".$param['titre'].$map."</div>\n";
+            $txthtml .= "<div class='titre'>".pl_entity_decode($param['titre'])."&nbsp;".$map."</div>\n";
         else
-            $txthtml .= "<em>".$param['titre']."</em>".$map."<br />\n";
+            $txthtml .= "<em>".pl_entity_decode($param['titre'])."&nbsp;</em>".$map."<br />\n";
     }
     foreach ($lines as $line)
     {