-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent escaping HTML tags inside variable #1490
Comments
Also looking for |
Would Shopify take a PR to support |
unescape would be great! so easy to implement too |
I'd love to have this as well. Is someone working on it? In my case, in section settings I want to include some |
We have HTML inside an order attribute we'd like to output in a Liquid template in Shopify - specifically it's in
order.attributes
.Just doing e.g.
{{ order.attributes.myHtmlVariable }}
is escaped - e.g. it outputs<
and>
How do we make Liquid output the variable without escaping? I've tried {% raw %} but that only disables the processing of Liquid tags themselves.
It's possible Shopify automatically encodes the contents of order.attributes - in that case, how can we unescape the HTML when outputting?
The text was updated successfully, but these errors were encountered: