getgrav / grav-premium-issues

Official Grav Premium Issues repository to report problems or ask questions regarding the Premium products offered.
https://getgrav.org/premium
7 stars 2 forks source link

[typhoon] HTML is not working on Typhoon only on Quark theme #443

Open NenadDragic opened 1 month ago

NenadDragic commented 1 month ago

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

Quark: Screenshot from 2024-06-04 23-17-34

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

rhukster commented 1 month ago

What page template are you using (.html.twig)? What does the actual page content (.md)?

NenadDragic commented 1 month ago

My .md downloaded: default.md

I hope this are the info that you ask for: Screenshot from 2024-06-06 13-17-30 Screenshot from 2024-06-06 13-20-03 Screenshot from 2024-06-06 13-23-08 Screenshot from 2024-06-06 13-24-28

rhukster commented 2 weeks ago

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.

NenadDragic commented 2 weeks ago

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.

rhukster commented 1 week ago

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.