• Luc Didry's avatar
    Fix tt2 indentation · cf795800
    Luc Didry authored
    - 4 spaces indentation
    - Indent on HTML tags AND on TT2 stuff ([% IF … %])
    - Avoid HTML or TT2 oneliners like:
    ```
      [% IF top_menu %]…[% END %]
      <div class="displayNone"><a href="#top">Top of Page</a></div>
    ```
    - When a tag has too many attributes to be on one line, indent the
      attributes at the same level than the first one:
    ```
    <label class="foo"
           id="bar">
        Baz
    </label>
    ```
    cf795800