]> git.sur5r.net Git - contagged/blobdiff - smarty/plugins/modifier.indent.php
Smarty update to 2.6.14
[contagged] / smarty / plugins / modifier.indent.php
index 552c3e1998ce2d97fdbf8e0fed9b567a03e85aa8..394147a29d6a203475f91ba386ff1112dd3ae4ee 100644 (file)
@@ -14,6 +14,7 @@
  * Purpose:  indent lines of text
  * @link http://smarty.php.net/manual/en/language.modifier.indent.php
  *          indent (Smarty online manual)
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param string
  * @param integer
  * @param string
@@ -21,7 +22,7 @@
  */
 function smarty_modifier_indent($string,$chars=4,$char=" ")
 {
-       return preg_replace('!^!m',str_repeat($char,$chars),$string);
+    return preg_replace('!^!m',str_repeat($char,$chars),$string);
 }
 
 ?>