#18152: urlize filter does not work correctly in combination with linebreaksbr
filter
-------------------------------------+-------------------------------------
Reporter: Nasmon | Owner:
Type: Bug | Vladimir.Filonov
Component: Template system | Status: closed
Severity: Normal | Version: 1.4
Keywords: | Resolution: wontfix
Has patch: 0 | Triage Stage: Accepted
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by aaugustin):
* status: assigned => closed
* resolution: => wontfix
Comment:
It looks like both filters work normally. `urlize` is designed to operate
on plain text, not on HTML.
As pointed out in comment 1 the reverse order works: `{{
foo|urlize|linebreaksbr }}`.
Splitting on non-URLy characters is likely to cause more problems — for
instance it'll URLize links within a `<a href="...">` which is probably
not desirable.
--
Ticket URL: <https://code.djangoproject.com/ticket/18152#comment:5>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.