Juanjo Conti wrote:
> Hi, I am using Django's template engine to produce rtf files and I
> have noticed something: if the first line of my template is a {%load
> ... %} tag then the result has a withe like at the to of it. This is
> not a problem in html, the common use of the tempalte engine, but is
> fatal in a rtf file.
> 
> I write this because I think that this behaibour should bi fixed, am I right?
> 
> Anyway I have putted the load tag in the second line of my tempalte :)
> 
> Juanjo


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#SECTION000680000000000000000
 


The spaceless tag helps sometimes, but not for your situation.


-- 
Norman J. Harman Jr.
Senior Web Specialist, Austin American-Statesman
___________________________________________________________________________
You've got fun!  Check out Austin360.com for all the entertainment
info you need to live it up in the big city!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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