summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-10-31 19:13:24 +0100
committeradmin <devnull@localhost>2006-10-31 19:13:24 +0100
commit7c807cba83ab368d027a28f4b84ee6a301430e80 (patch)
treea0fb89f559a66c9fe0fdbdcde9fc62ff4932c2cb /system/helpers
parent41ac09fa04db283003f7eab7adac0c584e0e6a84 (diff)
Diffstat (limited to 'system/helpers')
-rw-r--r--system/helpers/text_helper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/helpers/text_helper.php b/system/helpers/text_helper.php
index 1b9178129..655d6e531 100644
--- a/system/helpers/text_helper.php
+++ b/system/helpers/text_helper.php
@@ -370,7 +370,7 @@ function word_wrap($str, $charlim = '76')
// If so we'll join it to the output and continue
if (strlen($line) <= $charlim)
{
- $output .= $line.$this->newline;
+ $output .= $line."\n";
continue;
}
@@ -399,7 +399,7 @@ function word_wrap($str, $charlim = '76')
$output .= $line;
}
- $output .= $this->newline;
+ $output .= "\n";
}
// Put our markers back