Skip to content

Commit 8685e93

Browse files
committed
Fix tests
1 parent 0abf290 commit 8685e93

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

nbconvert/tests/test_nbconvertapp.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def test_no_input(self):
374374
'<span class="o">=</span> '
375375
'<span class="n">symbols</span>'
376376
'<span class="p">(</span>'
377-
'<span class="s1">&#39;x y z&#39;</span>'
377+
'<span class="s1">\'x y z\'</span>'
378378
'<span class="p">)</span>'
379379
) not in text
380380
self.nbconvert("notebook1.ipynb --log-level 0 --to html")
@@ -392,7 +392,7 @@ def test_no_input(self):
392392
'<span class="o">=</span> '
393393
'<span class="n">symbols</span>'
394394
'<span class="p">(</span>'
395-
'<span class="s1">&#39;x y z&#39;</span>'
395+
'<span class="s1">\'x y z\'</span>'
396396
'<span class="p">)</span>'
397397
) in text2
398398

Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{%- macro celltags(cell) -%}
22
{% if cell.metadata.tags | length > 0 -%}
33
{% for tag in (cell.metadata.tags) -%}
4-
{{ (' celltag_' ~ tag) | clean_html -}}
4+
{{ (' celltag_' ~ tag) | escape_html -}}
55
{%- endfor -%}
66
{%- endif %}
77
{%- endmacro %}

0 commit comments

Comments
 (0)