##// END OF EJS Templates
Backport PR #4043: don't 'restore_bytes' in from_JSON...
Backport PR #4043: don't 'restore_bytes' in from_JSON It makes no sense to turn base64-encoded unicode strings into base64-encoded byte strings. I can't think why we do this, but we should be very careful about testing before merging this fix. fixes the issue tested in #4036.

File last commit:

r11771:a5cc9313
r12466:3ff9c5cf
Show More
reveal_cells.tpl
20 lines | 524 B | application/vnd.groove-tool-template | SmartyLexer
{%- extends 'html_basic.tpl' -%}
{%- block any_cell scoped -%}
{%- if cell.metadata.slide_type in ['-', 'slide', 'subslide'] -%}
{{ super() }}
{%- elif cell.metadata.slide_type in ['skip'] -%}
<div style=display:none>
{{ super() }}
</div>
{%- elif cell.metadata.slide_type in ['notes'] -%}
<aside class="notes">
{{ super() }}
</aside>
{%- elif cell.metadata.slide_type in ['fragment'] -%}
<div class="fragment">
{{ super() }}
</div>
{%- endif -%}
{%- endblock any_cell -%}