Some includes are formatted in such a way that it breaks the include.
How To Reproduce
Format this:
<script>
{% include "shared/_base/components/toast.js" %}
</script>
And the result is:
<script>
{
% include "shared/_base/components/toast.js" %
}
</script>
With the whitespace between the brace and percent sign, Jinja doesn't process this include.
I am aware that this isn't ideal for how to use JS, and it should be a file hosted on the server, but I have this currently until I get other things setup.
System Info
Issue
Some includes are formatted in such a way that it breaks the include.
How To Reproduce
Format this:
And the result is:
With the whitespace between the brace and percent sign, Jinja doesn't process this include.
I am aware that this isn't ideal for how to use JS, and it should be a file hosted on the server, but I have this currently until I get other things setup.