From d9bb7128fe7bc565a2dbbd1e89bb0345711b46f6 Mon Sep 17 00:00:00 2001 From: David Hoffman Date: Mon, 13 Oct 2014 18:15:36 -0400 Subject: [1.7.x] Fixed #23558 -- documented slugify limitations Backport of 03467368db from master --- docs/ref/templates/builtins.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/ref/templates') 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:: -- cgit v1.3