mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +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:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user