Opened 10 years ago

Last modified 10 years ago

#23715 closed Bug

Template tag urlize and exclamation mark — at Version 1

Reported by: Steven Owned by: nobody
Component: Template system Version: 1.7
Severity: Normal Keywords:
Cc: info+coding@… Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Steven)

The template tag urlize cannot create the urls correctly when an exclamation mark follows an url.

text = "Check out www.djangoproject.com!"
text|urlize

results in:

"Check out <a href="(...)!">www.djangoproject.com!</a>"

Change History (1)

comment:1 by Steven, 10 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top