summaryrefslogtreecommitdiff
path: root/django/utils/html.py
diff options
context:
space:
mode:
authorVebjorn Ljosa <vebjorn@ljosa.com>2012-07-17 10:38:04 -0400
committerVebjorn Ljosa <vebjorn@ljosa.com>2012-07-17 12:44:02 -0400
commitd5012d6371e804fc0427112cc1ceacbe8a059c4f (patch)
tree2c45c00d95a207ce7ff2881998361adec0673bc2 /django/utils/html.py
parent29132ebdef0e0b9c09e456b05f0e6a22f1106a4f (diff)
Fixed #18644 -- Made urlize trim trailing period followed by parenthesis
Diffstat (limited to 'django/utils/html.py')
-rw-r--r--django/utils/html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/html.py b/django/utils/html.py
index 390c45dcec..6a47bfc869 100644
--- a/django/utils/html.py
+++ b/django/utils/html.py
@@ -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 = [('(', ')'), ('<', '>'), ('&lt;', '&gt;')]
# List of possible strings used for bullets in bulleted lists.