packages feed

doctemplates-0.4: test/indent.test

{ "foo": "FOO1\nFOO2"
, "bar": [ "LINE1\n LINE2"
         , "LINE3\n LINE4"
         ]
}
.
$if(foo)$
   $foo$
$endif$
$for(bar)$
  $bar$
$endfor$

- $foo$
  $foo$ -
  $if(foo)$$foo$$endif$
.
   FOO1
   FOO2
  LINE1
   LINE2
  LINE3
   LINE4

- FOO1
FOO2
  FOO1
FOO2 -
  FOO1
FOO2