mirror of
https://github.com/django/django.git
synced 2025-10-25 06:36:07 +00:00
Fixed #19070 -- urlize filter no longer raises exceptions on 2.7
Thanks to claudep for the patch.
This commit is contained in:
@@ -18,7 +18,7 @@ from django.utils.text import normalize_newlines
|
||||
|
||||
# Configuration for urlize() function.
|
||||
TRAILING_PUNCTUATION = ['.', ',', ':', ';', '.)']
|
||||
WRAPPING_PUNCTUATION = [('(', ')'), ('<', '>'), ('<', '>')]
|
||||
WRAPPING_PUNCTUATION = [('(', ')'), ('<', '>'), ('[', ']'), ('<', '>')]
|
||||
|
||||
# List of possible strings used for bullets in bulleted lists.
|
||||
DOTS = ['·', '*', '\u2022', '•', '•', '•']
|
||||
|
||||
Reference in New Issue
Block a user