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