[prev in list] [next in list] [prev in thread] [next in thread] 

List:       smarty-dev
Subject:    [SMARTY-DEV] Bug in {mailto} function plugin
From:       195.227.105.180
Date:       2006-01-17 13:27:25
Message-ID: A8.DB.13436.3C0FCC34 () pb1 ! pair ! com
[Download RAW message or body]

Hi,

({mailto address=$email encode=javascript_charcode})

renders to: (mail@example.com )

I expected: (mail@example.com)


Could somebody remove the waste line feed?

Thanks, Thomas.




Index: libs/plugins/function.mailto.php
===================================================================
RCS file: /repository/smarty/libs/plugins/function.mailto.php,v
retrieving revision 1.15
diff -u -w -b -r1.15 function.mailto.php
--- libs/plugins/function.mailto.php	25 Feb 2005 17:08:28 -0000	1.15
+++ libs/plugins/function.mailto.php	17 Jan 2006 13:07:54 -0000
@@ -122,7 +122,7 @@
          $_ret .= "))";
          $_ret .= "}\n";
          $_ret .= "//-->\n";
-        $_ret .= "</script>\n";
+        $_ret .= "</script>";

          return $_ret;

-- 
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic