diff options
-rw-r--r-- | system/helpers/text_helper.php | 4 |
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 |