mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 02:49:27 +01:00
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
Block a user