Skip to content

Commit 569adcb

Browse files
committed
fixes #1527
1 parent ac6fc83 commit 569adcb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nbdev/clean.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def _clean_cell_output(cell, clean_ids):
6969
if k.startswith('text') and clean_ids: data[k] = _clean_cell_output_id(data[k])
7070
if k.startswith('image') and "svg" not in k: data[k] = data[k].rstrip()
7171
if 'text' in o and clean_ids: o['text'] = _clean_cell_output_id(o['text'])
72-
o.get('metadata', {}).pop('tags', None)
72+
# o.get('metadata', {}).pop('tags', None)
7373

7474
# %% ../nbs/api/11_clean.ipynb
7575
def _clean_cell(cell, clear_all, allowed_metadata_keys, clean_ids):

nbs/api/11_clean.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
" if k.startswith('text') and clean_ids: data[k] = _clean_cell_output_id(data[k])\n",
164164
" if k.startswith('image') and \"svg\" not in k: data[k] = data[k].rstrip()\n",
165165
" if 'text' in o and clean_ids: o['text'] = _clean_cell_output_id(o['text'])\n",
166-
" o.get('metadata', {}).pop('tags', None)"
166+
"# o.get('metadata', {}).pop('tags', None)"
167167
]
168168
},
169169
{

0 commit comments

Comments
 (0)