You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test method gets called before firstTruthy. If I change the firstTruthy method to be a Shortcode instead of PairedShortcode the ordering works correctly.
Operating system
Linux
Eleventy
3.0.0
Describe the bug
Given these codes:
If I put this into my header.hbs:
The test method gets called before firstTruthy. If I change the firstTruthy method to be a Shortcode instead of PairedShortcode the ordering works correctly.
If I change that header.hbs:
Just not calling that test shortcode, it works as expected.
Reproduction steps
All the example code is provided.
I am using handlebars as my templates. I'm using the latest
"@11ty/eleventy-plugin-handlebars": "^1.0.0",
I had to attach my debugger to the environment to figure out why that test method was received an object
this
instead of the string.Expected behavior
The inner test method should only be called after the outer paired shortcodes execute.
Reproduction URL
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered: