From ca0ee4ce4158962f4d00af726344bfba12537634 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Sun, 20 Feb 2011 13:45:39 -0600 Subject: [PATCH] Web: autoescape in all templates --- web/templates/karma/givers.html | 2 ++ web/templates/karma/index.html | 2 ++ web/templates/karma/stats.html | 2 ++ web/templates/storycraft/game_index.html | 2 ++ web/templates/storycraft/index.html | 2 ++ web/templates/storycraft/tmpl_footer.html | 2 ++ web/templates/storycraft/tmpl_game_story.html | 2 ++ web/templates/storycraft/tmpl_game_summary.html | 2 ++ 8 files changed, 16 insertions(+) diff --git a/web/templates/karma/givers.html b/web/templates/karma/givers.html index 3854f59..3129503 100755 --- a/web/templates/karma/givers.html +++ b/web/templates/karma/givers.html @@ -1,3 +1,4 @@ +{% autoescape on %} +{% endautoescape %} diff --git a/web/templates/karma/index.html b/web/templates/karma/index.html index ad47470..6d4ac87 100755 --- a/web/templates/karma/index.html +++ b/web/templates/karma/index.html @@ -1,4 +1,6 @@ +{% autoescape on %} +{% endautoescape %} diff --git a/web/templates/karma/stats.html b/web/templates/karma/stats.html index 4507414..e810359 100755 --- a/web/templates/karma/stats.html +++ b/web/templates/karma/stats.html @@ -1,3 +1,4 @@ +{% autoescape on %}
    {% for value in values %}
  1. @@ -5,3 +6,4 @@
  2. {% endfor %}
+{% endautoescape %} diff --git a/web/templates/storycraft/game_index.html b/web/templates/storycraft/game_index.html index 5f1765d..bf5ad4b 100644 --- a/web/templates/storycraft/game_index.html +++ b/web/templates/storycraft/game_index.html @@ -1,3 +1,4 @@ +{% autoescape on %} @@ -45,3 +46,4 @@ +{% endautoescape %} diff --git a/web/templates/storycraft/index.html b/web/templates/storycraft/index.html index 727bd0f..6501942 100644 --- a/web/templates/storycraft/index.html +++ b/web/templates/storycraft/index.html @@ -1,3 +1,4 @@ +{% autoescape on %} @@ -50,3 +51,4 @@ +{% endautoescape %} diff --git a/web/templates/storycraft/tmpl_footer.html b/web/templates/storycraft/tmpl_footer.html index ca77c84..7bffcb5 100644 --- a/web/templates/storycraft/tmpl_footer.html +++ b/web/templates/storycraft/tmpl_footer.html @@ -1,3 +1,4 @@ +{% autoescape on %} @@ -5,3 +6,4 @@ +{% endautoescape %} diff --git a/web/templates/storycraft/tmpl_game_story.html b/web/templates/storycraft/tmpl_game_story.html index 0634d55..0a9b06a 100644 --- a/web/templates/storycraft/tmpl_game_story.html +++ b/web/templates/storycraft/tmpl_game_story.html @@ -1,3 +1,4 @@ +{% autoescape on %}
{% if game.is_completed %}
@@ -17,3 +18,4 @@ +{% endautoescape %} diff --git a/web/templates/storycraft/tmpl_game_summary.html b/web/templates/storycraft/tmpl_game_summary.html index e5a484d..37a34d4 100644 --- a/web/templates/storycraft/tmpl_game_summary.html +++ b/web/templates/storycraft/tmpl_game_summary.html @@ -1,3 +1,4 @@ +{% autoescape on %}