pedf
/
fakulta-online
Archived
1
0
Fork 0

Safe HTML v názvech

master
Emil Miler 3 years ago
parent e2de04bfdb
commit 9186205cb1

@ -2,7 +2,7 @@
{% block content %} {% block content %}
<section> <section>
<h2>{{ page.title }}</h2> <h2>{{ page.title | safe }}</h2>
{% if page.extra.author %} {% if page.extra.author %}
<div class="metadata">{{ page.extra.author }}</div> <div class="metadata">{{ page.extra.author }}</div>
{% endif %} {% endif %}

@ -8,7 +8,7 @@
{% block content %} {% block content %}
<section class="meta"> <section class="meta">
<div> <div>
<h2>{{ page.title }}</h2> <h2>{{ page.title | safe }}</h2>
<p>{{ page.description | safe }}</p> <p>{{ page.description | safe }}</p>
</div> </div>
{% if page.extra.mainimage %} {% if page.extra.mainimage %}
@ -25,9 +25,9 @@
{% for page in section.pages %} {% for page in section.pages %}
<a href="{{ page.permalink }}"> <a href="{{ page.permalink }}">
{% if page.extra.short_title %} {% if page.extra.short_title %}
{{ page.extra.short_title }} {{ page.extra.short_title | safe }}
{% else %} {% else %}
{{ page.title }} {{ page.title | safe }}
{% endif %} {% endif %}
</a> </a>
{% endfor %} {% endfor %}