summaryrefslogtreecommitdiffstats
path: root/htmlbuffer.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-07-31 00:14:56 +0000
committerJeremy Katz <katzj@redhat.com>2003-07-31 00:14:56 +0000
commit831930c4aaa63d029d48573b33a7c98586ede6ba (patch)
tree19437293bb2948338f9be020f43690c1afa780a9 /htmlbuffer.py
parentb1d546977dbe8a2b7cb059ef834f186f19a2311f (diff)
downloadanaconda-831930c4aaa63d029d48573b33a7c98586ede6ba.tar.gz
anaconda-831930c4aaa63d029d48573b33a7c98586ede6ba.tar.xz
anaconda-831930c4aaa63d029d48573b33a7c98586ede6ba.zip
merge from taroon branch to head
Diffstat (limited to 'htmlbuffer.py')
-rw-r--r--htmlbuffer.py3
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)