Fixed inline expression used in template block breaks the output.
Fixed node tests.
Merge pull request #6 from mikaelkaron/fix/expression

Ternary expression breaks template