summaryrefslogtreecommitdiff
path: root/example/index.php
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2015-04-14 22:37:15 +0200
committerKevin Chabowski <kevin@kch42.de>2015-04-14 22:37:15 +0200
commitb52413dbb4d8333d5fe2a351780e20b04c4525a2 (patch)
tree2f539192bb1d6e330bfb5845b72a6131cf7bcdae /example/index.php
parent31241a2ab9c97e09ddbd4fb9e41b4e2e756d8ed4 (diff)
downloadste-develop.tar.gz
ste-develop.tar.bz2
ste-develop.zip
Trim whitespacedevelop
Diffstat (limited to 'example/index.php')
-rw-r--r--example/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/index.php b/example/index.php
index a0aa03c..3c7c5ba 100644
--- a/example/index.php
+++ b/example/index.php
@@ -34,10 +34,10 @@ $ste->register_tag("repeat",
$output = "";
if(!is_numeric($params["n"]))
throw new ste\RuntimeError("Sorry, but parameter n must be a number...");
-
+
for($i = 0; $i < $params["n"]; ++$i)
$output .= $sub($ste);
-
+
return $output;
}
);