2020-06-07 15:09:37 -04:00
|
|
|
Tags inside a sep{~n}
|
|
|
|
================={~n}
|
2020-06-07 14:01:58 -04:00
|
|
|
{#people}
|
|
|
|
{name}{@sep petname="fluffy"},{pet}{petname}{/sep}
|
2020-06-07 14:07:32 -04:00
|
|
|
{/people}{~n}
|
|
|
|
|
2020-06-07 15:09:37 -04:00
|
|
|
sep inside a scalar{~n}
|
|
|
|
==================={~n}
|
2020-06-07 14:07:32 -04:00
|
|
|
{#scalar}
|
|
|
|
{name}{@sep petname="fluffy"},{pet}{petname}{/sep}
|
|
|
|
{/scalar}{~n}
|
|
|
|
|
2020-06-07 15:09:37 -04:00
|
|
|
Nested sep inside another non-array section{~n}
|
|
|
|
==========================================={~n}
|
2020-06-07 14:07:32 -04:00
|
|
|
{#people}
|
|
|
|
{#toys}
|
|
|
|
{name}'s pet {pet} plays with a {.}{@sep}, {/sep}
|
|
|
|
{/toys}
|
|
|
|
{/people}{~n}
|
2020-06-07 15:09:37 -04:00
|
|
|
|
|
|
|
Else block inside a sep{~n}
|
|
|
|
======================={~n}
|
|
|
|
{#people}
|
|
|
|
{name}{@sep},{pet}{petname}{:else}elseblock{/sep}
|
|
|
|
{/people}{~n}
|
|
|
|
|
|
|
|
Sep outside any section{~n}
|
|
|
|
======================={~n}
|
|
|
|
{@sep}sep is printed outside any section{/sep}
|