Skip to content
This repository was archived by the owner on Oct 29, 2018. It is now read-only.

Allow multiple elements on topLevel and avoid array-elements for single child-nodes

Compare
Choose a tag to compare
@mficzel mficzel released this 30 May 16:06
· 29 commits to master since this release

AFX now allows to use multiple elements on the top level of an aft-block. If multiple elements are used on the top-level of an aft-block an Neos.Fusion:Array is created.

At the same time the rendering of single child-nodes inside AFX-tags is altered. If an element contains only a single child then the child is rendered directly into the content-attribute without wrapping in an Array.