Skip to content

Fixed #18644 -- Made urlize trim trailing period followed by parenthesis #216

Merged
merged 1 commit into from Jul 25, 2012

3 participants

@ljosa
ljosa commented Jul 17, 2012

Added '.)' to TRAILING_PUNCTUATION so that a period will be stripped from URLs also when it is followed by a close parenthesis. See Ticket #18644.

@claudep
Django member
claudep commented Jul 17, 2012

urlize is already extensively tested in regressionttests/defaultfilters/tests.py. Please move your test there.

@ljosa
ljosa commented Jul 17, 2012

@claudep Thanks for showing me where the test should go. Moved it and amended the existing commit.

@apollo13 apollo13 merged commit 59d9977 into django:master Jul 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.