Skip to content
This repository has been archived by the owner on Jun 20, 2019. It is now read-only.

1.1.1

Compare
Choose a tag to compare
@bigtimebuddy bigtimebuddy released this 10 Nov 22:47
· 10 commits to master since this release

Merged pull request to add html('fragment') which creates an empty container.

For instance:

$container = html('fragment');

$container->addChild(html('comment', 'The image'));
$container->addChild(html('img src="home.jpg"'));
$container->addChild(html('comment', 'End of the image'));

echo $container;

Generates:

<!-- The image -->
<img src="home.jpg" />
<!-- End of the image -->