summaryrefslogtreecommitdiff
path: root/docs/api.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api.rst')
-rw-r--r--docs/api.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst
index de4d2e4..443d053 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -584,6 +584,12 @@ Example::
If this is set to False then all strings are stored as unicode
internally.
+``truncate.leeway``:
+ Configures the leeway default for the `truncate` filter. Leeway as
+ introduced in 2.9 but to restore compatibility with older templates
+ it can be configured to `0` to get the old behavior back. The default
+ is `5`.
+
``urlize.rel``:
A string that defines the items for the `rel` attribute of generated
links with the `urlize` filter. These items are always added. The