I have a variable amount of lines that need to be displayed in a <pre></pre> block:
<pre> header {% if var1 %}{{ ... }}{% endif %} {% if var2 %}{{ ... }}{% endif %} {% if var3 %}{{ ... }}{% endif %} footer </pre> However, if some of the if-statements are not evaluated to be true then the line breaks are still displayed in the pre area causing "gaps". Are there any easy approaches to addressing this issue? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.