New parser question #5794
Replies: 3 comments 2 replies
-
This sounds like a bug, the syntax shouldn't be any different between parsers. Can you open an issue instead? |
Beta Was this translation helpful? Give feedback.
-
When you’re inside a pair of double braces (like a parameter), always use single braces to represent variables or tags to be parsed. Doubles sometimes work in regex but not always so we always have documented to use singles. Try this.
|
Beta Was this translation helpful? Give feedback.
-
This bit is probably your issue. You can't use braces like this for the tag name itself. It was not a supported feature in the regex parser, and only worked by fluke.
You should use the src parameter instead, and use single braces inside it:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
When running
'version' => 'regex',
, this set up works, but doesn't work with'version' => 'runtime'
This is the
_components/glide/placeholder/img
partialI get this error, the
img_ratio="16-9"
isn't working?Using
'version' => 'runtime'
it only works if I hardcode the value, but I'd like to still be able to pass that value in via a partial variable.I've tried different versions
I guess there must be a new syntax for this in 3.3, but I can't see any mention of this in the updated docs?
Beta Was this translation helpful? Give feedback.
All reactions