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>
Thu, 30 Oct 2008 21:22:41 +0000 (22:22 +0100)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
plugins/function.poison.php

index 372e7a6..c146917 100644 (file)
@@ -25,11 +25,11 @@ function smarty_function_poison($params, &$smarty) {
     require_once dirname(__FILE__) . '/../modules/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: