mirror of https://github.com/Mikaela/Limnoria.git
Merge pull request #1172 from GLolol/web/strip-titles
Web: actually return a whitespace-stripped title
This commit is contained in:
commit
d397b4706d
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue