Enable autoescaping in more places

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton 2013-02-26 18:28:26 +00:00
parent 30d64cafda
commit 5b9f65880d
4 changed files with 8 additions and 0 deletions

View File

@ -23,6 +23,7 @@
<body>
{% block header %}
{% autoescape on %}
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
@ -54,6 +55,7 @@
</div> <!-- end of "container" -->
</div> <!-- "end of "navbar-inner" -->
</div> <!-- end of "navbar" -->
{% endautoescape %}
{% endblock %}
<div id="content" class="container top-padded">

View File

@ -6,6 +6,7 @@
-->
{% block content %}
{% autoescape on %}
<h2>About</h2>
<p>This website indexes layers for the <a href="http://www.openembedded.org">OpenEmbedded</a> build system, suitable for use on top of OpenEmbedded-Core and distributions based upon it, providing additional recipes, machine support and/or distro policy configuration.</p>
@ -41,6 +42,7 @@
<p>The code is Open Source and can be found on <a href="http://git.yoctoproject.org/cgit/cgit.cgi/layerindex-web/">git.yoctoproject.org</a>. Patches welcome!</p>
{% endautoescape %}
{% endblock %}
{% block footer %}

View File

@ -12,7 +12,9 @@
<!--
{% autoescape on %}
{% block title %}OpenEmbedded metadata index - {{ layeritem.name }}{% endblock %}
{% endautoescape %}
-->
{% block content %}

View File

@ -12,7 +12,9 @@
<!--
{% autoescape on %}
{% block title %}OpenEmbedded metadata index - {{ recipe.pn }}{% endblock %}
{% endautoescape %}
-->
{% block content %}