mirror of
https://github.com/django/django.git
synced 2025-10-26 15:16:09 +00:00
Fixed #18644 -- Made urlize trim trailing period followed by parenthesis
This commit is contained in:
@@ -13,7 +13,7 @@ from django.utils.functional import allow_lazy
|
||||
from django.utils.text import normalize_newlines
|
||||
|
||||
# Configuration for urlize() function.
|
||||
TRAILING_PUNCTUATION = ['.', ',', ':', ';']
|
||||
TRAILING_PUNCTUATION = ['.', ',', ':', ';', '.)']
|
||||
WRAPPING_PUNCTUATION = [('(', ')'), ('<', '>'), ('<', '>')]
|
||||
|
||||
# List of possible strings used for bullets in bulleted lists.
|
||||
|
||||
Reference in New Issue
Block a user