Skip to content

Commit

Permalink
Merge pull request #7441 from minrk/raw-cell-indentation
Browse files Browse the repository at this point in the history
fix indentation of raw cells
  • Loading branch information
Carreau committed Jan 14, 2015
2 parents 4a46872 + 0274806 commit b0f52c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions IPython/nbconvert/templates/latex/skeleton/null.tplx
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ consider calling super even if it is a leave block, we might insert more blocks
((*- endblock markdowncell -*))
((*- elif cell.cell_type in ['raw'] -*))
((*- block rawcell scoped -*))
((* if cell.metadata.get('raw_mimetype', '').lower() in resources.get('raw_mimetypes', ['']) *))
((*- if cell.metadata.get('raw_mimetype', '').lower() in resources.get('raw_mimetypes', ['']) -*))
((( cell.source )))
((* endif *))
((*- endif -*))
((*- endblock rawcell -*))
((*- else -*))
((*- block unknowncell scoped-*))
Expand Down
4 changes: 2 additions & 2 deletions IPython/nbconvert/templates/skeleton/null.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ consider calling super even if it is a leave block, we might insert more blocks
{%- endblock markdowncell -%}
{%- elif cell.cell_type in ['raw'] -%}
{%- block rawcell scoped -%}
{% if cell.metadata.get('raw_mimetype', '').lower() in resources.get('raw_mimetypes', ['']) %}
{%- if cell.metadata.get('raw_mimetype', '').lower() in resources.get('raw_mimetypes', ['']) -%}
{{ cell.source }}
{% endif %}
{%- endif -%}
{%- endblock rawcell -%}
{%- else -%}
{%- block unknowncell scoped-%}
Expand Down

0 comments on commit b0f52c8

Please sign in to comment.