Fix escaping error in blog demo

Closes #726.
This commit is contained in:
Ben Darnell 2013-04-13 16:39:58 -04:00
parent 7cb8072e69
commit 74c6075d58
1 changed files with 1 additions and 1 deletions

View 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>