diff options
Diffstat (limited to 'htmlbuffer.py')
-rw-r--r-- | htmlbuffer.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/htmlbuffer.py b/htmlbuffer.py index ae535543f..c027d739b 100644 --- a/htmlbuffer.py +++ b/htmlbuffer.py @@ -28,7 +28,8 @@ class HTMLBuffer(HTMLParser.HTMLParser): entityRefMap = { 'copy': unichr(0xA9), 'lt': '<', 'gt': '>', - 'quot': '"'} + 'quot': '"', + 'nbsp': ' '} whiteSpaceNuker = re.compile(r"""\s+""", re.MULTILINE) def __init__(self): self.buffer = gtk.TextBuffer(None) |