Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed Aug 9, 2022
1 parent 0abf290 commit 8685e93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nbconvert/tests/test_nbconvertapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ def test_no_input(self):
'<span class="o">=</span> '
'<span class="n">symbols</span>'
'<span class="p">(</span>'
'<span class="s1">&#39;x y z&#39;</span>'
'<span class="s1">\'x y z\'</span>'
'<span class="p">)</span>'
) not in text
self.nbconvert("notebook1.ipynb --log-level 0 --to html")
Expand All @@ -392,7 +392,7 @@ def test_no_input(self):
'<span class="o">=</span> '
'<span class="n">symbols</span>'
'<span class="p">(</span>'
'<span class="s1">&#39;x y z&#39;</span>'
'<span class="s1">\'x y z\'</span>'
'<span class="p">)</span>'
) in text2

Expand Down
2 changes: 1 addition & 1 deletion share/jupyter/nbconvert/templates/base/celltags.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{%- macro celltags(cell) -%}
{% if cell.metadata.tags | length > 0 -%}
{% for tag in (cell.metadata.tags) -%}
{{ (' celltag_' ~ tag) | clean_html -}}
{{ (' celltag_' ~ tag) | escape_html -}}
{%- endfor -%}
{%- endif %}
{%- endmacro %}

0 comments on commit 8685e93

Please sign in to comment.