diff --git a/plugins/hackernews.py b/plugins/hackernews.py index 0ac7b6b..225e2cb 100644 --- a/plugins/hackernews.py +++ b/plugins/hackernews.py @@ -13,7 +13,7 @@ def hackernews(match): return u"{title} by {by} with {score} points and {descendants} comments ({url})".format(**entry) if entry['type'] == "comment": - entry['text'] = http.unescape(entry['text']) + entry['text'] = http.unescape(entry['text'].replace('

', ' // ')) return u'"{text}" -- {by}'.format(**entry) class Test(unittest.TestCase):