pedf
/
fakulta-online
Archived
1
0
Fork 0

Escape HTML

master
Emil Miler 4 years ago
parent f495e6b2c5
commit 23e8ef1ce9

@ -21,12 +21,12 @@
<div class="stats"> <div class="stats">
<ul class="positive"> <ul class="positive">
{% for item in program.extra.positive_short %} {% for item in program.extra.positive_short %}
<li>{{ item }}</li> <li>{{ item | safe }}</li>
{% endfor %} {% endfor %}
</ul> </ul>
<ul class="negative"> <ul class="negative">
{% for item in program.extra.negative_short %} {% for item in program.extra.negative_short %}
<li>{{ item }}</li> <li>{{ item | safe }}</li>
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>

@ -8,7 +8,7 @@
{% endif %} {% endif %}
{% if email or phone %} {% if email or phone %}
<div> <div>
<strong>{{ name }}</strong> <strong>{{ name | safe }}</strong>
<ul> <ul>
{% if email %}<li><a href="mailto:{{ email }}">{{ email }}</a></li>{% endif %} {% if email %}<li><a href="mailto:{{ email }}">{{ email }}</a></li>{% endif %}
{% if phone %}<li>{{ phone }}</li>{% endif %} {% if phone %}<li>{{ phone }}</li>{% endif %}

@ -18,12 +18,12 @@
<div class="stats"> <div class="stats">
<ul class="positive"> <ul class="positive">
{% for item in page.extra.positive %} {% for item in page.extra.positive %}
<li>{{ item }}</li> <li>{{ item | safe }}</li>
{% endfor %} {% endfor %}
</ul> </ul>
<ul class="negative"> <ul class="negative">
{% for item in page.extra.negative %} {% for item in page.extra.negative %}
<li>{{ item }}</li> <li>{{ item | safe }}</li>
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>