summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'system/helpers')
-rw-r--r--system/helpers/text_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/text_helper.php b/system/helpers/text_helper.php
index ca19ab98b..7e15c1934 100644
--- a/system/helpers/text_helper.php
+++ b/system/helpers/text_helper.php
@@ -460,7 +460,7 @@ if ( ! function_exists('word_wrap'))
while (mb_strlen($line) > $charlim)
{
// If the over-length word is a URL we won't wrap it
- if (preg_match('!\[url.+\]|://|wwww.!', $line))
+ if (preg_match('!\[url.+\]|://|www\.!', $line))
{
break;
}