diff --git a/plugins/Http.py b/plugins/Http.py index e7dda3450..6bea689a8 100644 --- a/plugins/Http.py +++ b/plugins/Http.py @@ -260,6 +260,7 @@ class Http(callbacks.Privmsg): irc.error(msg, debug.exnToString(e)) _geekquotere = re.compile('

(.*?)

') + _mlgeekquotere = re.compile('

(.*?)

', re.M | re.DOTALL) def geekquote(self, irc, msg, args): """[] @@ -276,7 +277,7 @@ class Http(callbacks.Privmsg): html = fd.read() fd.close() if multiline: - m = self._geekquotere.search(html, re.M) + m = self._mlgeekquotere.search(html) else: m = self._geekquotere.search(html) if m is None: