Juanjo Conti wrote:
The way to fix this is to include the {% load ... %} tag on the same line as something else.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
I'm not familiar with the RTF format, but to eliminate the blank line at the top of an html file, you would do this:
{% load ... %}<html>
instead of
{% load ... %}
<html>
Hopefully this helps!
Jeff Anderson
signature.asc
Description: OpenPGP digital signature

