Merge pull request #4945 from vlakoff/text_helper

Small code simplification in character_limiter()
diff --git a/system/helpers/text_helper.php b/system/helpers/text_helper.php
index 4f9210f..e54ed04 100644
--- a/system/helpers/text_helper.php
+++ b/system/helpers/text_helper.php
@@ -102,7 +102,7 @@
 		}
 
 		// a bit complicated, but faster than preg_replace with \s+
-		$str = preg_replace('/ {2,}/', ' ', str_replace(array("\r", "\n", "\t", "\x0B", "\x0C"), ' ', $str));
+		$str = preg_replace('/ {2,}/', ' ', str_replace(array("\r", "\n", "\t", "\v", "\f"), ' ', $str));
 
 		if (mb_strlen($str) <= $n)
 		{