Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#5396 closed (wontfix)

Filter "urlizetrunc" does not truncize email adresses

Reported by: Danilo Owned by: nobody
Component: Template system Version: dev
Severity: Keywords:
Cc: Triage Stage: Design decision needed
Has patch: yes Needs documentation: no
Needs tests: yes Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Filter shortens urls, but not email addresses.

Attachments (2)

trunc_email.diff (900 bytes ) - added by deepak <deep.thukral@…> 17 years ago.
trunc_email.2.diff (900 bytes ) - added by deepak <deep.thukral@…> 17 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by Simon G. <dev@…>, 17 years ago

Triage Stage: UnreviewedDesign decision needed

should it?

by deepak <deep.thukral@…>, 17 years ago

Attachment: trunc_email.diff added

by deepak <deep.thukral@…>, 17 years ago

Attachment: trunc_email.2.diff added

comment:2 by deepak <deep.thukral@…>, 17 years ago

Has patch: set
Needs tests: set

I think emails are for distribution and it shouldnt be truncated .. thats the idea, but if you have your own logic then just edit one line in django.utils.html or see my patch.

abc...@nottrimable.com

comment:3 by deepak <deep.thukral@…>, 17 years ago

Resolution: wontfix
Status: newclosed

comment:4 by Simon G. <dev@…>, 17 years ago

That wontfix above is based on discussion on the IRC channel: urlize truncates URLs not email addresses.

Note: See TracTickets for help on using tickets.
Back to Top