mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +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
|
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):
|
||||||
|
Loading…
Reference in New Issue
Block a user