diff --git a/src/calibre/ebooks/html.py b/src/calibre/ebooks/html.py index 28bfd1067d..f405040c77 100644 --- a/src/calibre/ebooks/html.py +++ b/src/calibre/ebooks/html.py @@ -355,7 +355,10 @@ class PreProcessor(object): (re.compile(r'-\n\r?'), lambda match: ''), # Remove gray background - (re.compile(r'
]+>'), lambda match : '') + (re.compile(r']+>'), lambda match : ''), + + # Remove non breaking spaces + (re.compile(ur'\u00a0'), lambda match : ' '), ]