title: How to prevent space in output due to line break in the HTML code?
body: <p>I have seen this question up here and some are solving it by comment tags or breaking tags like this:</p>
  
  <pre><code> &lt;i&gt;&lt;!--
  --&gt;t does not work on the first level with tabspace = 2
     beside it looks horrible.  
  &lt;a
   &gt;nnoying&lt;
  /a&gt; is it not?
  </code></pre>
  
  <p>I remember as if I have seen some trick like</p>
  
  <pre><code>&lt;a&gt;&amp;dont_put_here_space_please;
    tricky ampersand code.
  </code></pre>
  
  <p>Is there any such thing?</p>
  
  <p>I am using now <strong>jinja2</strong> python template engine. Does it have some space-preventing trick?</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>With jinja2, thanks to dav1d, the shortest way I could come up with is:</p>
  
  <pre><code>&lt;a&gt;{% if true -%}
    No space in the output before this text.
  &lt;/a&gt;{% endif -%}
    Nor after.
  </code></pre>
  
  <p>Is there any shorter way of doing this?</p>