title: Jinja2 correctly indent included block
body: <p>I have two files:</p>
  
  <p><strong>base.html</strong></p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
         &lt;meta charset="UTF-8"&gt;
         &lt;title&gt;{{title}}&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
         {% block content %}
         {% endblock %}   
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>register.html</strong></p>
  
  <pre><code>{% extends "base.html" %}
  {% block content %}
  &lt;h1&gt;Register&lt;/h1&gt;
  &lt;form action="" method="post" name="register"&gt;
      {{ form.hidden_tag() }}
      {{ form.login.label }} {{ form.login(size=20) }}
      {{ form.password.label }} {{ form.password(size=20) }}
      &lt;input type="submit" value="Register"&gt;
  &lt;/form&gt;
  {% endblock %}
  </code></pre>
  
  <p>It gets rendered like this:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
         &lt;meta charset="UTF-8"&gt;
         &lt;title&gt;Register&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
  
  &lt;h1&gt;Register&lt;/h1&gt;
  &lt;form action="" method="post" name="register"&gt;
      &lt;div style="display:none;"&gt;&lt;input id="csrf_token" name="csrf_token" type="hidden" value="1393257771.168161##ce877b3519f192c05d3b409f3b7b07bb147dead7"&gt;&lt;/div&gt;
      &lt;label for="login"&gt;login&lt;/label&gt; &lt;input id="login" name="login" size="20" type="text" value=""&gt;
      &lt;label for="password"&gt;password&lt;/label&gt; &lt;input id="password" name="password" size="20" type="password" value=""&gt;
      &lt;input type="submit" value="Register"&gt;
  &lt;/form&gt;
  
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I would like to achieve this:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
         &lt;meta charset="UTF-8"&gt;
         &lt;title&gt;Register&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;h1&gt;Register&lt;/h1&gt;
          &lt;form action="" method="post" name="register"&gt;
              &lt;div style="display:none;"&gt;&lt;input id="csrf_token" name="csrf_token" type="hidden" value="1393257771.168161##ce877b3519f192c05d3b409f3b7b07bb147dead7"&gt;&lt;/div&gt;
              &lt;label for="login"&gt;login&lt;/label&gt; &lt;input id="login" name="login" size="20" type="text" value=""&gt;
              &lt;label for="password"&gt;password&lt;/label&gt; &lt;input id="password" name="password" size="20" type="password" value=""&gt;
              &lt;input type="submit" value="Register"&gt;
          &lt;/form&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Am I missing something? I tried Google and messing with the template indentations, also <code>indent</code> filter does not seem to apply here. I do not want to hard-code the indentation in the inner block, as that would break if I decide to change the formatting and elements in the base later.</p>