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
Describe the bug
The following code inline results in infinite incrementing indentation on save
{{# Extract Youtube Video ID #}}
{{?
preg_match('/(?:youtube\.com\/.*v=|youtu\.be\/|youtube\.com\/embed\/)([^&\/\?\#]+)/', $video_link, $matches);
$videoId = $matches[1] ?? null;
?}}
Impacted Products
Which Antlers Toolbox products does this bug apply to?
Antlers Toolbox for VS Code
Versions and Other Plugins/Extensions
Antlers Toolbox v2.6.21
To Reproduce
Copy-paste code above into antlers.html file
Expected behavior
No indentation
Other Notes:
Adjusting to be a single line alleviates this: {{# Extract Youtube Video ID #}}{{? preg_match('/(?:youtube\.com\/.*v=|youtu\.be\/|youtube\.com\/embed\/)([^&\/\?\#]+)/', $video_link, $matches); $videoId = $matches[1] ?? null; ?}}
😄
The text was updated successfully, but these errors were encountered:
Describe the bug
The following code inline results in infinite incrementing indentation on save
Impacted Products
Which Antlers Toolbox products does this bug apply to?
Versions and Other Plugins/Extensions
Antlers Toolbox v2.6.21
To Reproduce
Copy-paste code above into antlers.html file
Expected behavior
No indentation
Other Notes:
Adjusting to be a single line alleviates this:
{{# Extract Youtube Video ID #}}{{? preg_match('/(?:youtube\.com\/.*v=|youtu\.be\/|youtube\.com\/embed\/)([^&\/\?\#]+)/', $video_link, $matches); $videoId = $matches[1] ?? null; ?}}
😄
The text was updated successfully, but these errors were encountered: