##// END OF EJS Templates
Disable autoescape where not needed
neko259 -
r1954:2a7c5d13 default
parent child Browse files
Show More
@@ -13,7 +13,7 b''
13 13 <link rel="stylesheet" type="text/css" href="{% static theme_css %}" media="all"/>
14 14
15 15 {% if rss_url %}
16 <link rel="alternate" type="application/rss+xml" href="{{ rss_url }}" title="{% trans 'Feed' %}"/>
16 <link rel="alternate" type="application/rss+xml" href="{{ rss_url|safe }}" title="{% trans 'Feed' %}"/>
17 17 {% endif %}
18 18
19 19 <link rel="icon" type="image/png"
@@ -24,8 +24,8 b''
24 24
25 25 {% block head %}{% endblock %}
26 26 </head>
27 <body data-image-viewer="{{ image_viewer }}"
28 data-pow-difficulty="{{ pow_difficulty }}"
27 <body data-image-viewer="{{ image_viewer|safe }}"
28 data-pow-difficulty="{{ pow_difficulty|safe }}"
29 29 data-update-script="{% static 'js/updates.js' %}">
30 30 <script src="{% static 'js/jquery-2.2.0.min.js' %}"></script>
31 31
@@ -53,7 +53,7 b''
53 53 <a class="right-link link" href="{% url 'notifications' %}" title="{% trans 'Notifications' %}">
54 54 {% trans 'Notifications' %}
55 55 {% ifnotequal new_notifications_count 0 %}
56 (<b>{{ new_notifications_count }}</b>)
56 (<b>{{ new_notifications_count|safe }}</b>)
57 57 {% endifnotequal %}
58 58 </a>
59 59 {% endif %}
@@ -82,7 +82,7 b''
82 82 <b><a href="{% url "authors" %}">{{ site_name }}</a> {{ version }}</b>
83 83 {% block metapanel %}{% endblock %}
84 84 {% if rss_url %}
85 [<a href="{{ rss_url }}">RSS</a>]
85 [<a href="{{ rss_url|safe }}">RSS</a>]
86 86 {% endif %}
87 87 [<a href="{% url 'admin:index' %}">{% trans 'Admin' %}</a>]
88 88 [<a href="{% url 'index' %}?order=pub">{% trans 'New threads' %}</a>]
@@ -5,13 +5,14 b''
5 5 {% load board %}
6 6
7 7 {% block head %}
8 <title>{{ site_name }}</title>
8 <title>{{ site_name|safe }}</title>
9 9 {% endblock %}
10 10
11 11 {% block content %}
12 {% autoescape off %}
12 13 <div id="posts-table">
13 14 <div class="landing-tags">
14 {{ section_str|safe }}
15 {{ section_str }}
15 16 </div>
16 17 <br />
17 18 {% if latest_threads %}
@@ -24,11 +25,12 b''
24 25 <div>{{ title }}</div>
25 26 {% endif %}
26 27 {% endwith %}
27 <div>{{ op.thread.get_sections_str|safe }}</div>
28 <div>{{ op.get_link_view|safe }} +{{ op.today_post_count }}</div>
28 <div>{{ op.thread.get_sections_str }}</div>
29 <div>{{ op.get_link_view }} +{{ op.today_post_count }}</div>
29 30 </div>
30 31 {% endfor %}
31 32 </div>
32 33 {% endif %}
33 34 </div>
35 {% endautoescape %}
34 36 {% endblock %}
General Comments 0
You need to be logged in to leave comments. Login now