summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source
diff options
context:
space:
mode:
authoraneasystone <aneasystone@gmail.com>2015-07-26 10:47:25 +0200
committeraneasystone <aneasystone@gmail.com>2015-07-26 10:47:25 +0200
commitd5326294e5cad1254b27711b3f279397ec4f6088 (patch)
tree071e9753b233727918fa264c6055415ea38e7c83 /user_guide_src/source
parent2ffdb7b9ddcd9cbc49fc347fe8d8f276bdab60e0 (diff)
fix word_wrap produce not clear
Signed-off-by: aneasystone <aneasystone@gmail.com>
Diffstat (limited to 'user_guide_src/source')
-rw-r--r--user_guide_src/source/helpers/text_helper.rst6
1 files changed, 5 insertions, 1 deletions
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 = '&hellip;']])