Merge pull request #401 from Carreau/overz

Fix overzealous auto escape

closes #398
This commit is contained in:
Min RK 2015-09-08 09:39:39 +02:00
commit 159b470c86

View File

@ -268,7 +268,10 @@ data-notebook-path="{{notebook_path}}"
{% for helplinks in sections %}
{% for link in helplinks %}
<li><a rel="noreferrer" href="{{link[0]}}" {{'target="_blank" title="Opens in a new window"' if link[2]}}>
{{'<i class="fa fa-external-link menu-icon pull-right"></i>' if link[2]}}
{% if link[2] %}
<i class="fa fa-external-link menu-icon pull-right"></i>
{% endif %}
{{link[1]}}
</a></li>
{% endfor %}
@ -323,7 +326,7 @@ data-notebook-path="{{notebook_path}}"
{% block script %}
{{super()}}
<script type="text/javascript">
sys_info = {{sys_info}};
sys_info = {{sys_info|safe}};
</script>
<script src="{{ static_url("components/text-encoding/lib/encoding.js") }}" charset="utf-8"></script>