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
When using the following svg tag, the below error was thrown because the icon value did not exist: {{ svg src="{{ icon }}" class="w-6 h-6 lg:w-7 lg:h-7 text-primary-700" }}
I could check that the value exists first but I think the SVG tag should fail gracefully if the source is empty.
How to reproduce
Create svg tag with empty src value. {{ svg src="{{ foo }}" }}
Bug description
When using the following svg tag, the below error was thrown because the
icon
value did not exist:{{ svg src="{{ icon }}" class="w-6 h-6 lg:w-7 lg:h-7 text-primary-700" }}
I could check that the value exists first but I think the SVG tag should fail gracefully if the source is empty.
How to reproduce
Create svg tag with empty src value.
{{ svg src="{{ foo }}" }}
Logs
DOMDocument::loadXML(): Argument #1 ($source) must not be empty
https://flareapp.io/share/NPLWLOrm
Environment
Installation
Other (please explain)
Antlers Parser
Runtime (default)
Additional details
No response
The text was updated successfully, but these errors were encountered: