##// END OF EJS Templates
Coming back raw cell to null template.
damianavila -
Show More
@@ -80,12 +80,6 b' In [{{ cell.prompt_number }}]:'
80 </div>
80 </div>
81 {% endblock headingcell %}
81 {% endblock headingcell %}
82
82
83 {%- block rawcell scoped -%}
84 {% if cell.metadata.get('raw_mimetype', resources.get('raw_mimetype', '')).lower() in resources.get('raw_mimetypes', ['']) %}
85 {{ cell.source }}
86 {% endif %}
87 {%- endblock rawcell -%}
88
89 {% block unknowncell scoped %}
83 {% block unknowncell scoped %}
90 unknown type {{ cell.type }}
84 unknown type {{ cell.type }}
91 {% endblock unknowncell %}
85 {% endblock unknowncell %}
@@ -77,7 +77,7 b' consider calling super even if it is a leave block, we might insert more blocks '
77 {%- endblock headingcell -%}
77 {%- endblock headingcell -%}
78 {%- elif cell.cell_type in ['raw'] -%}
78 {%- elif cell.cell_type in ['raw'] -%}
79 {%- block rawcell scoped -%}
79 {%- block rawcell scoped -%}
80 {% if cell.metadata.get('raw_mimetype', '').lower() in resources.get('raw_mimetypes', ['']) %}
80 {% if cell.metadata.get('raw_mimetype', resources.get('raw_mimetype', '')).lower() in resources.get('raw_mimetypes', ['']) %}
81 {{ cell.source }}
81 {{ cell.source }}
82 {% endif %}
82 {% endif %}
83 {%- endblock rawcell -%}
83 {%- endblock rawcell -%}
General Comments 0
You need to be logged in to leave comments. Login now