Created
August 19, 2020 19:55
-
-
Save exussum12/0d0454c9e675f9aaddae61e5cfd8d49a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% set key = 'something' %} | |
{% set variable = 'something else' %} | |
// What I expect is the value of 'something' to be passed, NULL is passed | |
{{ variable | custom_filter(key) }} | |
// This passes 'key' | |
{{ variable | custom_filter('key') }} | |
// outputs 'something' correctly | |
{{ key }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment