Releases: lubosdz/html-templating-engine
Releases · lubosdz/html-templating-engine
1.0.7
Compare
Sorry, something went wrong.
No results found
added method reset()
support ternary operator ie. {{ expression ? trueCondition : falseCondition }}
improved support for public getters and properties
1.0.6
Compare
Sorry, something went wrong.
No results found
improved build-in directive replace
fix the IF condition expression containing double quotes
added tests, now passing PHP 7.0 - 8.4
1.0.5
Compare
Sorry, something went wrong.
No results found
exclude partially parsed placeholders from expression translator
1.0.4
Compare
Sorry, something went wrong.
No results found
refactored ELSEFOR behaviour - the condition will apply if no items to loop through
improved parsing REGEX expressions for more precise match
translation of placeholder keys now uses REGEX boundary \b to avoid naming conflicts
added build-in directive replace e.g. " {{ name | replace(WHAT, REPLACE) }} "
support for atomic booleans in IF condition eg. {{ if cars }} ... {{ endif }}
added test + improved documentation
1.0.3
Compare
Sorry, something went wrong.
No results found
fix eval error for numeric values starting with zero (should cast to string)
support importing subtemplates via {{ import file }}
support loading HTML content by supplying abs. path to template file
improved documentation
1.0.2
Compare
Sorry, something went wrong.
No results found
configurable argument separator
added built-in directives concat, trim
resolve deep-tree argument key conflicts
added tests, improved documentation, typehints
1.0.1
Compare
Sorry, something went wrong.
No results found
1.0.0
Compare
Sorry, something went wrong.
No results found
remove composer.lock