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
I copied some posts I had written for my Jekyll blog and noticed that Eleventy's liquid parser did not like this:
{% raw %}
stuff
{% endraw %}
I use this when I blog about Vue and need to have it ignore Vue-related stuff for my post. When I ran Eleventy, it told me that the raw tag wasn't closed. Is this something I can configure Eleventy's Liquid to understand or some mistake on my part?
Note - I wasn't using foo.liquid but foo.md.
To Reproduce
Try to use unparsed Liquid code in a Markdown file by using raw/endraw wrappers.
Expected behavior
Liquid should not parse the code between them.
The text was updated successfully, but these errors were encountered:
FYI I just reproduced it - but I'm boarding a plane for hours. My first test (today) was with a few of my blog posts. I just tried with all 9k of my blog posts and reproduced it. I'll narrow it down later today.
Ahah, I figured it out. It was not with a simple {% raw %} stuff {% endraw %} template as I thought. It was an earlier syntax I used on my blog and SUPER weird which is why I was so happy when I found the 'proper' way to escape. Anyway, this is what I was doing, it works on my blog (Jekyll), not Eleventy, which is fine.
{% raw %}{{phone.name}{% endraw %}}
Note the weird closing brackets. It looks and feels wrong, but I swear this worked. Anyway, thank you!
Describe the bug
I copied some posts I had written for my Jekyll blog and noticed that Eleventy's liquid parser did not like this:
I use this when I blog about Vue and need to have it ignore Vue-related stuff for my post. When I ran Eleventy, it told me that the
raw
tag wasn't closed. Is this something I can configure Eleventy's Liquid to understand or some mistake on my part?Note - I wasn't using
foo.liquid
butfoo.md
.To Reproduce
Try to use unparsed Liquid code in a Markdown file by using raw/endraw wrappers.
Expected behavior
Liquid should not parse the code between them.
The text was updated successfully, but these errors were encountered: