Closed rungta closed 1 year ago
Seems to act correctly for me.
Inspecting the source code of the page shows <p>This is a sentence with <example> characters that should be escaped in an HTML context.</p>
Sorry, it appears to be working now at our end as well (but only after re-saving the erroneous entries). Not sure what the issue was or why re-saving it is fixing the problem. 🤷
Thanks!
Describe the bug
Characters that have special meaning in HTML (eg
<
,>
etc.) and are present in the Vizy field's text (say, inside a paragraph) are not getting escaped as HTML entities when callingrenderHtml()
.Steps to reproduce
This is a sentence with <example> characters that should be escaped in an HTML context.
renderHtml()
Craft CMS version
3.7.51
Plugin version
1.0.18
Multi-site?
No
Additional context
No response