Merge pull request #1172 from GLolol/web/strip-titles

Web: actually return a whitespace-stripped title
This commit is contained in:
Valentin Lorentz 2015-10-04 22:05:08 +02:00
commit d397b4706d

View File

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