This PR was submitted for the 3.x branch but it was merged into the 2.x branch instead.
Discussion
----------
Fix transform call to Michelf\MarkdownExtra
As per the documentation here:
https://michelf.ca/projects/php-markdown/configuration/#configure
Calling defaultTransform() will use the default options, thus ignoring
the "hard_wrap" option. Calling transform() instead, which takes the
options into account.
Commits
-------
85a8a47b Fix transform call to Michelf\MarkdownExtra
This PR was submitted for the 3.x branch but it was squashed and merged into the 1.x branch instead.
Discussion
----------
Update api.rst
formating improve
Commits
-------
abe625a1 Update api.rst
This PR was submitted for the 3.x branch but it was merged into the 2.x branch instead.
Discussion
----------
Fix typos
Hello,
This PR will fix :
- 1 typo in `doc/filters/country_name.rst`
- 1 typo in `doc/filters/currency_name.rst`
- 1 typo in `doc/filters/currency_symbol.rst`
- 1 typo in `doc/filters/data_uri.rst`
- 1 typo in `doc/filters/format_currency.rst`
- 1 typo in `doc/filters/format_date.rst`
- 1 typo in `doc/filters/format_datetime.rst`
- 1 typo in `doc/filters/format_number.rst`
- 1 typo in `doc/filters/format_time.rst`
- 1 typo in `doc/filters/html_to_markdown.rst`
- 1 typo in `doc/filters/inky_to_html.rst`
- 1 typo in `doc/filters/inline_css.rst`
- 1 typo in `doc/filters/language_name.rst`
- 1 typo in `doc/filters/locale_name.rst`
- 1 typo in `doc/filters/markdown_to_html.rst`
- 1 typo in `doc/filters/timezone_name.rst`
- 1 typo in `doc/functions/country_timezones.rst`
- 1 typo in `doc/functions/html_classes.rst`
- 1 typo in `doc/tags/macro.rst`
- 1 typo in `extra/html-extra/src/HtmlExtension.php`
- 1 typo in `src/Extension/EscaperExtension.php`
Cheers! 🤖
Commits
-------
02730576 Fix typos
This PR was merged into the 2.x branch.
Discussion
----------
[docs] CoreExtension::setEscaper is deprecated
Commits
-------
628fde13 [docs] CoreExtension::setEscaper is deprecated
This PR was submitted for the 3.x branch but it was merged into the 1.x branch instead.
Discussion
----------
Tweaking phpdoc above Environment
Super minor. This description is displayed in Symfony's `debug:autowiring` command. It occurred to me that the current description doesn't describe the "thing" that most people would be looking for - that it *renders* templates.
Thanks!
Commits
-------
fabbac88 Tweaking phpdoc above Environment
This PR was submitted for the 3.x branch but it was merged into the 1.x branch instead.
Discussion
----------
Identity Equals - Best practices
all the equals are with identity equals, except these.
It's better normalize all the comparatives operations.
Commits
-------
60d5b4bc Identity Equals - Best practices
This PR was submitted for the 3.x branch but it was merged into the 1.x branch instead.
Discussion
----------
Update default.rst
Add warning for potentially confusing behaviour and alternative solution.
Commits
-------
9ff9a4d3 Update default.rst
This PR was merged into the 1.x branch.
Discussion
----------
Fix format of the CHANGELOG
Change to be applied to 2.x and 3.x when merging up of course.
Commits
-------
85cb7fd0 Fix format of the CHANGELOG
This PR was submitted for the 3.x branch but it was merged into the 2.x branch instead.
Discussion
----------
IntlExtension > Return empty string when input is null
```twig
{{ inputCountry | country_name('en') }}
```
When `inputCountry` is `null` it will give this error:
```
Argument 1 passed to Twig\Extra\Intl\IntlExtension::getCountryName() must be of the type string, null given
```
With this change, an empty string will be returned instead.
See discussion in https://github.com/twigphp/Twig/pull/3257#issuecomment-585740408
Commits
-------
caecd2a5 IntlExtension > Return empty string when input is null
This PR was submitted for the 3.x branch but it was merged into the 1.x branch instead.
Discussion
----------
Update advanced.rst
Hello,
I just updated the class name 😉
Commits
-------
e030bf6e Update advanced.rst
This PR was merged into the 1.x branch.
Discussion
----------
Optimize context access on PHP 7.4
`700400` means PHP 70.4
refs https://github.com/twigphp/Twig/pull/2985
Commits
-------
e3c20d39 Fix optimize context access on PHP 7.4