diff --git a/IPython/nbconvert/filters/strings.py b/IPython/nbconvert/filters/strings.py index 7fce6ee..dba1c5a 100755 --- a/IPython/nbconvert/filters/strings.py +++ b/IPython/nbconvert/filters/strings.py @@ -65,14 +65,14 @@ def strip_dollars(text): def rm_fake(text): """ - Remove all occurrences of '/files/' from text + Remove all occurrences of 'files/' from text Parameters ---------- text : str - Text to remove '/files/' from + Text to remove 'files/' from """ - return text.replace('/files/', '') + return text.replace('files/', '') def python_comment(text):