mirror of
https://github.com/django/django.git
synced 2025-10-26 07:06:08 +00:00
Merge pull request #216 from ljosa/ticket_18644
Fixed #18644 -- Made urlize trim trailing period followed by parenthesis
This commit is contained in:
@@ -17,7 +17,7 @@ from django.utils import six
|
||||
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