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
Hi, I'm wondering if the the following code would be expected to throw an error while parsing a liquid template. I would have expected parse to fail, however, I only get an error when trying to call render.:
Note, the template is invalid because the URL is not enclosed in quotes.
import{Liquid}from'liquidjs'constengine=newLiquid()// I would expect error to get thrown on this parse lineconsttpl=engine.parse('{% assign headshot = https://testurl.com/not_enclosed_in_quotes.jpg %}')// Error gets thrown by following lineengine.render(tpl,{}).then(console.log)
Hi, I'm wondering if the the following code would be expected to throw an error while parsing a liquid template. I would have expected parse to fail, however, I only get an error when trying to call render.:
Note, the template is invalid because the URL is not enclosed in quotes.
I only get a RenderError
The text was updated successfully, but these errors were encountered: