Hi,

On Friday, February 24, 2012 7:48:29 PM UTC+1, ojno wrote:
>
> Jinja implements whitespace control by putting a minus sign after/before 
> the % in a tag - http://jinja.pocoo.org/docs/templates/#whitespace-control - 
> I haven't tried it myself, but it looks like {% tag -%} is equivalent to 
> your {% tag %}{# .
>

Yes it is, and why nicer and more readable imo, using {# #} to achieve that 
effect is a horrible idea imo. 

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-developers/-/daZiFPvKwnkJ.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to