Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#5396 closed (wontfix)

Filter "urlizetrunc" does not truncize email adresses

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

Description

Filter shortens urls, but not email addresses.

Attachments (2)

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

Download all attachments as: .zip

Change History (6)

comment:1 Changed 9 years ago by Simon G. <dev@…>

Triage Stage: UnreviewedDesign decision needed

should it?

Changed 9 years ago by deepak <deep.thukral@…>

Attachment: trunc_email.diff added

Changed 9 years ago by deepak <deep.thukral@…>

Attachment: trunc_email.2.diff added

comment:2 Changed 9 years ago by deepak <deep.thukral@…>

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 Changed 9 years ago by deepak <deep.thukral@…>

Resolution: wontfix
Status: newclosed

comment:4 Changed 9 years ago by Simon G. <dev@…>

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