index.html: Narrow the scope of autoescape off

(imported from commit 8a2903ba219f1792501977318ecb44db3ae8f50e)
This commit is contained in:
Keegan McAllister 2012-10-10 16:59:46 -04:00
parent 66ed141dc1
commit 7850305dcf
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,6 @@
{% rawjstemplate "subscription" %} {% rawjstemplate "subscription" %}
</script> </script>
{% autoescape off %}
<link href="/static/styles/zephyr.css?dummy_time={% now "U" %}" rel="stylesheet"> <link href="/static/styles/zephyr.css?dummy_time={% now "U" %}" rel="stylesheet">
<link href="/static/styles/pygments.css" rel="stylesheet"> <link href="/static/styles/pygments.css" rel="stylesheet">
<script type="text/javascript" src="/static/third/jquery/jquery.form.js"></script> <script type="text/javascript" src="/static/third/jquery/jquery.form.js"></script>
@ -43,13 +42,14 @@
{% endif %} {% endif %}
<script type="text/javascript"> <script type="text/javascript">
{% autoescape off %}
var initial_pointer = {{ user_profile.pointer }}; var initial_pointer = {{ user_profile.pointer }};
var email = "{{ user_profile.user.email }}"; var email = "{{ user_profile.user.email }}";
var class_list = {{ classes }}; var class_list = {{ classes }};
var people_list = {{ people }}; var people_list = {{ people }};
var have_initial_messages = {{ have_initial_messages }}; var have_initial_messages = {{ have_initial_messages }};
</script>
{% endautoescape %} {% endautoescape %}
</script>
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div class="row"> <div class="row">