mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
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
This commit is contained in:
parent
42f5c8f397
commit
a93ee5112d
4 changed files with 12 additions and 2 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue