From 03467368dbd6a427985f86463faa61619f08c833 Mon Sep 17 00:00:00 2001 From: David Hoffman Date: Mon, 13 Oct 2014 18:15:36 -0400 Subject: Fixed #23558 -- documented slugify limitations --- docs/ref/templates/builtins.txt | 6 +++--- docs/ref/utils.txt | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'docs/ref') diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 8e74d1e44a..e9c2e0c391 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -2024,9 +2024,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:: diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index 507f3d6095..4c7368f687 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -842,9 +842,9 @@ appropriate entities. .. function:: 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