-
Using the Twig extractor we've had a fatal error on a semi-custom filter.
```php
$twig->addFilter(new Twig_SimpleFilter('addslashes', 'addslashes'));
````
Our twig template:
```twig
{{ conte…
-
I have some custom Twing filters that correspond to Twig filters in a custom Drupal module.
I am including these using a patch to load them in to `environment.js` duplicating the existing method.
Is…
jowan updated
2 months ago
-
When trying to use the attributes filter in alter-twig.php (which I assume is a way of dealing with the missing filters/functions provided by the Data Transfer Plugin which the latest version of Parti…
-
Hi there,
In the same way you added custom twig tags for Craft CMS and others, it would be nice to add custom twig filters (and functions). For example, Craft CMS [allows for a few of twig filters …
-
#### Is your feature request related to a problem?
No integrated function to truncate in twig. Was included in smarty.
#### Describe the solution you'd like
The u filter is part of the String…
-
Now with extra diff highlights, praise Github
When using [the `template_directory` setting](https://docs.bolt.cm/3.3/templating/building-templates#filesystem-layout) to put your Twig files in. Ther…
-
According to the [Twig documentation](https://twig.symfony.com/doc/1.x/filters/map.html), this example should display "Bob Smith, Alice Dupond":
```
{% set people = [
{first: "Bob", last: "Sm…
-
## Setup
- Version: v5.10.4-L160
- Environment: Docker
## Interface
- Flutter: []
- React: []
- Both: [x]
## Describe the bug
Trying to format a number by using the twig-filter `format_num…
-
i'm new to li3 so please forgive me if i overlooked something, but i installed both li3_twig and li3_docs plugins and after activating twig everything disappeared as it replaces the default handler (w…
eLod updated
13 years ago
-
Twig.js doesn't currently support the `autoescape` tag
https://twig.symfony.com/doc/2.x/tags/autoescape.html
olets updated
2 months ago