diff --git a/src/calibre/gui2/tweak_book/editor/syntax/html.py b/src/calibre/gui2/tweak_book/editor/syntax/html.py
index fd7e238de7..39bca4e52e 100644
--- a/src/calibre/gui2/tweak_book/editor/syntax/html.py
+++ b/src/calibre/gui2/tweak_book/editor/syntax/html.py
@@ -28,7 +28,7 @@ attribute_name_pat = re.compile(r'''[^%s"'/><=]+''' % space_chars)
self_closing_pat = re.compile(r'/\s*>')
unquoted_val_pat = re.compile(r'''[^%s'"=<>`]+''' % space_chars)
cdata_close_pats = {x:re.compile(r'%s' % x, flags=re.I) for x in cdata_tags}
-nbsp_pat = re.compile('\xa0+')
+nbsp_pat = re.compile('[\xa0\u2011]+') # non-breaking spaces and hyphens
class State(object):
@@ -366,7 +366,7 @@ if __name__ == '__main__':
Some\xa0words\xa0separated\xa0by\xa0non-breaking\xa0spaces.
+Some\xa0words\xa0separated\xa0by\xa0non\u2011breaking\xa0spaces and non\u2011breaking hyphens.