#5202: urlize filter before linebreaks doesn't work correctly
-----------------------------------+----------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Status: closed | Component: Template system
Version: 0.96 | Resolution: wontfix
Keywords: urlize linebreaks | Stage: Unreviewed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-----------------------------------+----------------------------------------
Changes (by mtredinnick):
* status: new => closed
* resolution: => wontfix
Comment:
Urlize should be applied to plain text (as per the documentation), not
text that is already HTML. Reversing the order of the filters is the right
way to use urlize and linebreaks in conjunction.
One difficulty is that we don't want to break processing of text that
looks like `<mailto:[EMAIL PROTECTED]>', which occurs in plain text
sometimes. So the meaning of '<' is overloaded is we try to handle plain
text and HTML here.
--
Ticket URL: <http://code.djangoproject.com/ticket/5202#comment:2>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---