From 17ec459c855c6236914a650457e7762202496f19 Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Sun, 3 Mar 2013 12:09:29 -0500 Subject: [PATCH] Use autoescape in blog demo. --- demos/blog/blog.py | 2 +- demos/blog/templates/archive.html | 2 +- demos/blog/templates/compose.html | 7 +++---- demos/blog/templates/entry.html | 2 +- demos/blog/templates/feed.xml | 12 ++++++------ demos/blog/templates/home.html | 2 +- demos/blog/templates/modules/entry.html | 4 ++-- 7 files changed, 15 insertions(+), 16 deletions(-) diff --git a/demos/blog/blog.py b/demos/blog/blog.py index bff45c36..f6487bcf 100755 --- a/demos/blog/blog.py +++ b/demos/blog/blog.py @@ -53,7 +53,7 @@ class Application(tornado.web.Application): xsrf_cookies=True, cookie_secret="__TODO:_GENERATE_YOUR_OWN_RANDOM_VALUE_HERE__", login_url="/auth/login", - autoescape=None, + debug=True, ) tornado.web.Application.__init__(self, handlers, **settings) diff --git a/demos/blog/templates/archive.html b/demos/blog/templates/archive.html index dcca9511..d5014649 100644 --- a/demos/blog/templates/archive.html +++ b/demos/blog/templates/archive.html @@ -23,7 +23,7 @@