diff options
| author | David Hoffman <dhoffman34@icloud.com> | 2014-10-13 18:15:36 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-10-30 09:08:01 -0400 |
| commit | d9bb7128fe7bc565a2dbbd1e89bb0345711b46f6 (patch) | |
| tree | e094c1cbf0aeb57d754acf33120ee91bb45f30c7 /docs/ref/templates | |
| parent | cb952099f4aeac263501c185441872af06927606 (diff) | |
[1.7.x] Fixed #23558 -- documented slugify limitations
Backport of 03467368db from master
Diffstat (limited to 'docs/ref/templates')
| -rw-r--r-- | docs/ref/templates/builtins.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 7671d59291..e2a8da0fd7 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -2036,9 +2036,9 @@ If ``some_list`` is ``['a', 'b', 'c']``, the output will be ``['a', 'b']``. slugify ^^^^^^^ -Converts to lowercase, removes non-word characters (alphanumerics and -underscores) and converts spaces to hyphens. Also strips leading and trailing -whitespace. +Converts to ASCII. Converts spaces to hyphens. Removes characters that aren't +alphanumerics, underscores, or hyphens. Converts to lowercase. Also strips +leading and trailing whitespace. For example:: |
