From d5326294e5cad1254b27711b3f279397ec4f6088 Mon Sep 17 00:00:00 2001 From: aneasystone Date: Sun, 26 Jul 2015 16:47:25 +0800 Subject: fix word_wrap produce not clear Signed-off-by: aneasystone --- user_guide_src/source/helpers/text_helper.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/user_guide_src/source/helpers/text_helper.rst b/user_guide_src/source/helpers/text_helper.rst index d1723c58a..ef47882fb 100644 --- a/user_guide_src/source/helpers/text_helper.rst +++ b/user_guide_src/source/helpers/text_helper.rst @@ -193,7 +193,11 @@ The following functions are available: $string = "Here is a simple string of text that will help us demonstrate this function."; echo word_wrap($string, 25); - // Would produce: Here is a simple string of text that will help us demonstrate this function + // Would produce: + // Here is a simple string + // of text that will help us + // demonstrate this + // function. .. php:function:: ellipsize($str, $max_length[, $position = 1[, $ellipsis = '…']]) -- cgit v1.2.3-24-g4f1b