#9157: Ellipses should be optional, and faux ellipses should be true ellipses in
truncatewords filter.
------------------------------------+---------------------------------------
Reporter: aral | Owner: nobody
Status: new | Milestone: post-1.0
Component: Uncategorized | Version: 1.0
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Changes (by dc):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
I'm -0 on \u2026.
Templates are not always Unicode so \u2026 is not a good idea IMHO. Also
templates are not always HTML so {{{&ellip;}}} entity also must be
avoided. I think that "..." is the most compatible thing for now.
But more versatile truncatewords tag is a good idea (but
{{{truncatewords:"-10"}}} syntax is unpythonic).
aral please '''never''' use
{{{
# This Python file uses the following encoding: utf-8
}}}
There is standard and common tag
{{{
# -*- coding: utf-8 -*-
}}}
always use it even if you don't like it.
--
Ticket URL: <http://code.djangoproject.com/ticket/9157#comment:1>
Django <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
-~----------~----~----~----~------~----~------~--~---