Open NenadDragic opened 1 month ago
What page template are you using (.html.twig)? What does the actual page content (.md)?
My .md downloaded: default.md
I hope this are the info that you ask for:
Does your templates/default.html.twig
look like this:
{% extends 'partials/base.html.twig' %}
{% block content %}
{{ page.content|raw }}
{% endblock %}
The |raw
filter should be rendering your HTML.
It looks like yours: `{% extends 'partials/base.html.twig' %}
{% block content %} {{ page.content|raw }} {% endblock %}`
I have tryed to look into all setting, but no luck to make the change to make it work.
Can you please locate the actual .md file on your filesystem and attach it to this issue? I'm thinking maybe it's escaped in the content.. iframe is not typically allowed to be saved by non-administrators as it can lead to dangerous XSS attacks. I'm wondering if a non-admin saved it and it got esacped.
I have installed the newest version of GRAV on two domains ver 1.7 46. On the one I have Typhoon 2.4.6 on the other one I have Quark 2.0.4.
On Quark theme this code works fine: Kort:
Typhoon:![Screenshot from 2024-06-04 23-16-08](https://github.com/getgrav/grav-premium-issues/assets/30623550/2ba60c03-fc01-42b7-9650-2ec2a6bccad7)
Quark:![Screenshot from 2024-06-04 23-17-34](https://github.com/getgrav/grav-premium-issues/assets/30623550/d52516d2-c1cd-4dc9-a72a-496abbf90333)
What to do to make iframe and work on Typhoon theme? I can read that it is just to type the html and it works, but not on Typhoon theme.
Thanks, Nenad