mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-30 12:11:32 +08:00
Merge pull request #401 from Carreau/overz
Fix overzealous auto escape closes #398
This commit is contained in:
commit
159b470c86
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user