Web: autoescape in all templates
This commit is contained in:
parent
d2a6267d95
commit
ca0ee4ce41
@ -1,3 +1,4 @@
|
||||
{% autoescape on %}
|
||||
<ul>
|
||||
{% for user in users %}
|
||||
<li>
|
||||
@ -5,3 +6,4 @@
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endautoescape %}
|
||||
|
@ -1,4 +1,6 @@
|
||||
{% autoescape on %}
|
||||
<ul>
|
||||
<li><a href="/karma/stats/">Karma Stats</a> ({{ value_count }} karma entries)</li>
|
||||
<li><a href="/karma/givers/">Karma Giver Stats</a> ({{ user_count }} karma givers)</li>
|
||||
</ul>
|
||||
{% endautoescape %}
|
||||
|
@ -1,3 +1,4 @@
|
||||
{% autoescape on %}
|
||||
<ol>
|
||||
{% for value in values %}
|
||||
<li>
|
||||
@ -5,3 +6,4 @@
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ol>
|
||||
{% endautoescape %}
|
||||
|
@ -1,3 +1,4 @@
|
||||
{% autoescape on %}
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
@ -45,3 +46,4 @@
|
||||
<!--
|
||||
vi:tabstop=2:expandtab:autoindent
|
||||
-->
|
||||
{% endautoescape %}
|
||||
|
@ -1,3 +1,4 @@
|
||||
{% autoescape on %}
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
@ -50,3 +51,4 @@
|
||||
<!--
|
||||
vi:tabstop=2:expandtab:autoindent
|
||||
-->
|
||||
{% endautoescape %}
|
||||
|
@ -1,3 +1,4 @@
|
||||
{% autoescape on %}
|
||||
<div id="footer">
|
||||
<p>Storycraft is a game of collaborative storytelling, intentionally leading to much insanity and nonsense. All stories were made to be funny but may not even be coherent. Void where prohibited.</p>
|
||||
</div>
|
||||
@ -5,3 +6,4 @@
|
||||
<!--
|
||||
vi:tabstop=2:expandtab:autoindent
|
||||
-->
|
||||
{% endautoescape %}
|
||||
|
@ -1,3 +1,4 @@
|
||||
{% autoescape on %}
|
||||
<div class="storyblock">
|
||||
{% if game.is_completed %}
|
||||
<div class="gamestory">
|
||||
@ -17,3 +18,4 @@
|
||||
<!--
|
||||
vi:tabstop=2:expandtab:autoindent
|
||||
-->
|
||||
{% endautoescape %}
|
||||
|
@ -1,3 +1,4 @@
|
||||
{% autoescape on %}
|
||||
<div class="gameitem">
|
||||
<ul class="gameinfo">
|
||||
<li class="gameid"><span><a href="{% url game_index game.id %}">{{ game.id }} — started by {{ game.owner_nick }}</a></span></li>
|
||||
@ -22,3 +23,4 @@
|
||||
<!--
|
||||
vi:tabstop=2:expandtab:autoindent
|
||||
-->
|
||||
{% endautoescape %}
|
||||
|
Loading…
Reference in New Issue
Block a user