Is this white-space behavior the case with all template tags?  Is it
desirable for all template tags?

Maybe only tags that are common to be at the top of a template file
could have this enhancement to erase whitespace between them and the
next real tag in the template?

It seems to me that if certain template tags are going to be present
at the top of a template file, and it would help their ease of use to
have trailing whitespace removed then those tags should be treated a
little differently than other tags.

Just my $.02

On Jun 13, 11:45 am, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On Fri, Jun 13, 2008 at 11:58 PM, Arien <[EMAIL PROTECTED]> wrote:
>
> > On Fri, Jun 13, 2008 at 9:48 AM, Norman Harman <[EMAIL PROTECTED]> wrote:
> >> Template's white space handling is one of the few things that irks me
> >> about Django.  I hate having to make confusing formating, jamming stuff
> >> all on the same line just to get white space correct.
>
> >> I really wish it had some whitespace handling tools like Cheetah
> >>http://www.cheetahtemplate.org/docs/users_guide_html/users_guide.html...
>
> > Or Template Toolkit's:
>
> >http://template-toolkit.org/docs/manual/Syntax.html#section_Chomping_...
>
> If there is a particular whitespace-eating behaviour that you would
> like, you could always implement it yourself in a template tag. If you
> think the template tag could be useful for others, you can share it on
> djangosnippets.org, or open a ticket to have the tag considered for
> inclusion in Django itself.
>
> If what you're proposing can't be done in a template tag, we're always
> open to suggestions on how to make Django better. Put down your ideas
> in a ticket, and we'll consider it.
>
> Yours,
> Russ Magee %-)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to