Skip to content
Snippets Groups Projects
Verified Commit cb9c504f authored by Anton Akhmerov's avatar Anton Akhmerov
Browse files

restore rendering of non-html outputs

parent b3c60e6b
Branches
No related tags found
No related merge requests found
Pipeline #28546 passed
......@@ -13,12 +13,11 @@
{% endblock %}
{% block display_data %}
<div class="thebelab-output" data-output="true">
{% if output.data['text/html'] %}
{{ output.data['text/html'] }}
{% else %}
{%- if output.data['text/html'] -%}
<div class="thebelab-output" data-output="true">{{ output.data['text/html'] }}{% else %}
<div class="thebelab-output" data-output="true" markdown="1">
{{ super() }}
{% endif %}
{%- endif -%}
</div>
{% endblock %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment