☕ Latte: the safest & truly intuitive templates for PHP. Engine for those who want the most secure PHP sites.
|group
|sort
accepts iterableFilters::first()
accepts iterableLoader::isExpired()
deprecatedBlueprint::printClass()
rewritten (BC break)hasBlock()
fixed template retrieval #357<script>
#356Filters::safeUrl()
: widened supported typesprepare()
changes:
Tag::closestTag()
finds by class namesupport for PHP 8.2, 8.3
hasBlock()
#345Filters::safeUrl()
accepts Stringable<script type=unknown>
is HTML not escaped<script type=text/html>
<script>
& <style>
Filters::strLength()
uses mbstring, iconv and then utf8_decodeEngine::setStrictParsing()
<{$foo}>
</foo ...>
is not allowed (BC break)__LINE__
, __FILE__
, __DIR__
Engine::setStrictParsing()
<{$foo}>
</foo ...>
is not allowed (BC break)TokenStream::throwUnexpectedException()
reports only single token