summaryrefslogtreecommitdiffstats
path: root/user_guide_src
diff options
context:
space:
mode:
authorEric Barnes <eric@ericlbarnes.com>2011-12-14 17:04:14 +0100
committerEric Barnes <eric@ericlbarnes.com>2011-12-14 17:04:14 +0100
commit399cca920b3d2d94e3c0f8d1099b22b6482481da (patch)
tree60a27aba00cbfa1fed6f93997669fe1558cf0797 /user_guide_src
parentc0681aac4be7062f7a541274ff5ef7d01ec8eee2 (diff)
Added a reference note for people needing to limit to a set number of characters
Diffstat (limited to 'user_guide_src')
-rw-r--r--user_guide_src/source/helpers/text_helper.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/user_guide_src/source/helpers/text_helper.rst b/user_guide_src/source/helpers/text_helper.rst
index e97643275..8cb2d6f96 100644
--- a/user_guide_src/source/helpers/text_helper.rst
+++ b/user_guide_src/source/helpers/text_helper.rst
@@ -46,6 +46,9 @@ more or less then what you specify. Example
The third parameter is an optional suffix added to the string, if
undeclared this helper uses an ellipsis.
+**Note:** If you need to truncate to an exact number of characters please see
+the :ref:`ellipsize` function below.
+
ascii_to_entities()
===================
@@ -136,6 +139,8 @@ complete words. Example
// Would produce: Here is a simple string of text that will help us demonstrate this function
+.. _ellipsize:
+
ellipsize()
===========