summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/templates.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/templates.txt b/docs/templates.txt
index 4a5161eae5..89d9eacda8 100644
--- a/docs/templates.txt
+++ b/docs/templates.txt
@@ -677,7 +677,9 @@ Built-in filter reference
for an introduction.
``slugify``
- Converts to lowercase, removes non-alpha chars and converts spaces to hyphens
+ Converts to lowercase, removes non-word characters (alphanumerics and
+ underscores) and converts spaces to hyphens. Also strips leading and
+ trailing whitespace.
``stringformat``
Formats the variable according to the argument, a string formatting specifier.