diff options
| author | LarryBrid <camfulton@gmail.com> | 2014-07-02 11:51:51 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-07-02 20:36:53 -0400 |
| commit | a93ee5112d42d37187e30aa4edcc1864a79d384a (patch) | |
| tree | 7b389395df6528f56c68d83f7c8e7a93fd2a018e /docs | |
| parent | 42f5c8f39710691ce1606289698ee321a8ac0627 (diff) | |
Fixed #22941 - Added support for domain-only links with chars after the TLD to urlize.
It now works with something like google.com/foo/bar
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/templates/builtins.txt | 6 | ||||
| -rw-r--r-- | docs/releases/1.8.txt | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index efa7188990..97860d1463 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -2277,6 +2277,12 @@ It also supports domain-only links ending in one of the original top level domains (``.com``, ``.edu``, ``.gov``, ``.int``, ``.mil``, ``.net``, and ``.org``). For example, ``djangoproject.com`` gets converted. +.. versionchanged:: 1.8 + + Support for domain-only links that include characters after the top-level + domain (e.g. ``djangoproject.com/`` and ``djangoproject.com/download/``) + was added. + Links can have trailing punctuation (periods, commas, close-parens) and leading punctuation (opening parens), and ``urlize`` will still do the right thing. diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index 8a736aeb45..3e2790c602 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -207,7 +207,9 @@ Signals Templates ^^^^^^^^^ -* ... +* :tfilter:`urlize` now supports domain-only links that include characters after + the top-level domain (e.g. ``djangoproject.com/`` and + ``djangoproject.com/download/``). Requests and Responses ^^^^^^^^^^^^^^^^^^^^^^ |
