-
-
Notifications
You must be signed in to change notification settings - Fork 810
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
Discrepancy in {{ record.foo }}
vs {{ record.get('foo') }}
#6472
Comments
I experienced a (probably) similar problem: I upgraded from 3.0 to 3.2.9 and found that the HTML tags were visible in the output (the same as the
After some experimenting I modified this to:
i.e., include the fields explicitly. This resolved the problem (see |
Pretty sure this is only for repeaters, as they don't render twig/markdown or mark content as safe yet. |
@CarsonF Look at the code example above. It's not just repeaters. |
The discrepancy is still there, but the risk of introducing new bugs when changing this was too high, so instead we did what we did in #6474. |
There's a discrepancy in how these are handled.. The latter isn't output as
\Twig_Markup
.Example:
Result:
Details
The text was updated successfully, but these errors were encountered: