]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Fix escaping error in blog demo
authorBen Darnell <ben@bendarnell.com>
Sat, 13 Apr 2013 20:39:58 +0000 (16:39 -0400)
committerBen Darnell <ben@bendarnell.com>
Sat, 13 Apr 2013 20:40:23 +0000 (16:40 -0400)
Closes #726.

demos/blog/templates/base.html

index 038c5b3ffffc9ac0401c9815de05376a58274b3b..9d63b4dec8567e63130f4abc3ee756c52c28b8e7 100644 (file)
@@ -15,7 +15,7 @@
             <a href="/compose">{{ _("New post") }}</a> -
             <a href="/auth/logout?next={{ url_escape(request.uri) }}">{{ _("Sign out") }}</a>
           {% else %}
-            {{ _('<a href="%(url)s">Sign in</a> to compose/edit') % {"url": "/auth/login?next=" + url_escape(request.uri)} }}
+            {% raw _('<a href="%(url)s">Sign in</a> to compose/edit') % {"url": "/auth/login?next=" + url_escape(request.uri)} %}
           {% end %}
         </div>
         <h1><a href="/">{{ escape(handler.settings["blog_title"]) }}</a></h1>