30 lines
693 B
Plaintext
30 lines
693 B
Plaintext
Tags inside a sep{~n}
|
|
================={~n}
|
|
{#people}
|
|
{name}{@sep petname="fluffy"},{pet}{petname}{/sep}
|
|
{/people}{~n}
|
|
|
|
sep inside a scalar{~n}
|
|
==================={~n}
|
|
{#scalar}
|
|
{name}{@sep petname="fluffy"},{pet}{petname}{/sep}
|
|
{/scalar}{~n}
|
|
|
|
Nested sep inside another non-array section{~n}
|
|
==========================================={~n}
|
|
{#people}
|
|
{#toys}
|
|
{name}'s pet {pet} plays with a {.}{@sep}, {/sep}
|
|
{/toys}
|
|
{/people}{~n}
|
|
|
|
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}
|