annotate sat_templates/templates/bulma/embed/embed.html @ 363:cddac8502c4b

chat/message: fix urlize escaping on nunjucks: Nunjucks imply to use `safe` when using `urlize`, while Jinja2 doesn't. Esacaping and safe filter are added so that `urlize` can work with both engines.
author Goffi <goffi@goffi.org>
date Wed, 28 Jun 2023 10:40:53 +0200
parents 1ca9384fb681
children b313a7d343af
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
291
1ca9384fb681 bulma: new `embed/embed.html` template
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {% if not embedded %}{% extends 'base/base.html' %}{% endif %}
1ca9384fb681 bulma: new `embed/embed.html` template
Goffi <goffi@goffi.org>
parents:
diff changeset
2 {% block body_wrapper %}
1ca9384fb681 bulma: new `embed/embed.html` template
Goffi <goffi@goffi.org>
parents:
diff changeset
3 <iframe class="embed" src="{{target_url}}"></iframe>
1ca9384fb681 bulma: new `embed/embed.html` template
Goffi <goffi@goffi.org>
parents:
diff changeset
4 {% endblock body_wrapper %}
1ca9384fb681 bulma: new `embed/embed.html` template
Goffi <goffi@goffi.org>
parents:
diff changeset
5
1ca9384fb681 bulma: new `embed/embed.html` template
Goffi <goffi@goffi.org>
parents:
diff changeset
6 {% block footer %}{% endblock footer %}