1
0
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:
Florian Apolloner
2012-07-25 13:22:49 -07:00
2 changed files with 5 additions and 1 deletions

View File

@@ -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 = [('(', ')'), ('<', '>'), ('&lt;', '&gt;')]
# List of possible strings used for bullets in bulleted lists.