Web: actually return the whitespace-stripped title

This commit is contained in:
James Lu 2015-10-04 12:54:41 -07:00
parent 532309ecff
commit 6e96f8f8bf

View File

@ -155,7 +155,7 @@ class Web(callbacks.PluginRegexp):
title = parser.title title = parser.title
if title: if title:
title = utils.web.htmlToText(parser.title.strip()) title = utils.web.htmlToText(parser.title.strip())
return parser.title return title
@fetch_sandbox @fetch_sandbox
def titleSnarfer(self, irc, msg, match): def titleSnarfer(self, irc, msg, match):