Don't get obfuscated.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Mon, 20 Oct 2008 21:33:12 +0000 (23:33 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Mon, 20 Oct 2008 21:33:12 +0000 (23:33 +0200)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
plugins/function.poison.php

index 6f5e12b..ea6d629 100644 (file)
@@ -25,11 +25,11 @@ function smarty_function_poison($params, &$smarty) {
     Platal::load('poison', 'poison.inc.php');
 
     $emails = get_poison_emails($seed, $count);
-    $str = "";
+    $str = "<textarea>";
     foreach ($emails as $email) {
         $str .= "<a href=\"mailto:$email\">$email</a> ";
     }
-    return $str;
+    return $str . '</textarea>';
 }
 
 // vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: