mirceapiturca / Sections

Shopify sections for everyone. Tooltips, FAQ, Quiz, and App Performance
https://sections.design
MIT License
173 stars 80 forks source link

HTML in Schema Markup #22

Open developerMicaelRoche opened 9 months ago

developerMicaelRoche commented 9 months ago

The following line (found here) causes the json to include json-parsed HTML in the accepted answer: "text": {{ block.settings.content | json }}

I recommend using the following instead: "text": {{ block.settings.content | strip_html | json }}

mirceapiturca commented 9 months ago

Thanks, Yes, this is correct, the output should be markup-free. I will update the code