diff --git a/tqdm/notebook.py b/tqdm/notebook.py
index b3babace..6ee43a6c 100644
--- a/tqdm/notebook.py
+++ b/tqdm/notebook.py
@@ -157,8 +157,7 @@ class tqdm_notebook(std_tqdm):
pbar.value = self.n
if msg:
- # take care of space padding in html
- msg=msg.translate({ord(' ') : u'\u2007'})
+ msg = msg.replace(' ', u'\u2007') # fix html space padding
# html escape special characters (like '&')
if '' in msg:
left, right = map(escape, re.split(r'\|?\|?', msg, maxsplit=1))