diff --git a/snurr.py b/snurr.py index 530cdc8..e6b2d37 100755 --- a/snurr.py +++ b/snurr.py @@ -204,7 +204,7 @@ class IRCActions(): tree = lxml.html.fromstring(partialhtml) title = tree.find(".//title") if title is not None and title.text is not None: - reply += "[%s]" % title.text.strip() + reply += "[%s]" % re.sub(r'\s+', ' ', title.text.strip()) # DEBUG if title is None: reply += ""