cvs: smarty / NEWS /libs Smarty_Compiler.class.php

"Messju Mohr" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmessju1107959479@cvsserver>
messju		Wed Feb  9 09:31:19 2005 EDT

  Modified files:              
    /smarty	NEWS 
    /smarty/libs	Smarty_Compiler.class.php 
  Log:
  fixed handling of strip-tags with non-default delimiters
  
  
  
http://cvs.php.net/diff.php/smarty/NEWS?r1=1.487&r2=1.488&ty=u
Index: smarty/NEWS
diff -u smarty/NEWS:1.487 smarty/NEWS:1.488
--- smarty/NEWS:1.487	Thu Feb  3 09:41:33 2005
+++ smarty/NEWS	Wed Feb  9 09:31:18 2005
@@ -1,3 +1,5 @@
+  - fix handling of strip-tags with non-default delimiters (Mark West, messju)
+
 Version 2.6.7 (Feb 3, 2005)
 ---------------------------
 
http://cvs.php.net/diff.php/smarty/libs/Smarty_Compiler.class.php?r1=1.361&r2=1.362&ty=u
Index: smarty/libs/Smarty_Compiler.class.php
diff -u smarty/libs/Smarty_Compiler.class.php:1.361 smarty/libs/Smarty_Compiler.class.php:1.362
--- smarty/libs/Smarty_Compiler.class.php:1.361	Thu Feb  3 10:14:43 2005
+++ smarty/libs/Smarty_Compiler.class.php	Wed Feb  9 09:31:18 2005
@@ -26,7 +26,7 @@
  * @package Smarty
  */
 
-/* $Id: Smarty_Compiler.class.php,v 1.361 2005/02/03 15:14:43 mohrt Exp $ */
+/* $Id: Smarty_Compiler.class.php,v 1.362 2005/02/09 14:31:18 messju Exp $ */
 
 /**
  * Template compiling class
@@ -529,13 +529,13 @@
                     $this->_pop_tag('strip');
                     if (--$this->_strip_depth==0) { /* outermost closing {/strip} */
                         $this->_additional_newline = "\n";
-                        return $this->left_delimiter.$tag_command.$this->right_delimiter;
+                        return '{' . $tag_command . '}';
                     }
                 } else {
                     $this->_push_tag('strip');
                     if ($this->_strip_depth++==0) { /* outermost opening {strip} */
                         $this->_additional_newline = "";
-                        return $this->left_delimiter.$tag_command.$this->right_delimiter;
+                        return '{' . $tag_command . '}';
                     }
                 }
                 return '';

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.