mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-19 13:57:00 +00:00
ea8f008c36ca49c395da11e634f9a6335cf96656
This PR was squashed before being merged into the 1.x branch (closes #2925). Discussion ---------- Whitespace improvements This pull request introduces a new whitespace control modifier in addition to the `-` one. The new `~` modifier consume whitespace excluding newlines. closes #2924, closes #1005, closes #1423, closes #1569, and many already closed ones. Commits -------96eab472added support for a new whitespace trimming option7e3ec0fbmade Lexer regexes more readable591da368simplified Lexer regexes
…
…
…
…
…
Twig, the flexible, fast, and secure template language for PHP ============================================================== Twig is a template language for PHP, released under the new BSD license (code and documentation). Twig uses a syntax similar to the Django and Jinja template languages which inspired the Twig runtime environment. More Information ---------------- Read the `documentation`_ for more information. .. _documentation: https://twig.symfony.com/documentation
Description
Languages
PHP
99.9%