Skip to content

Commit aa6f970

Browse files
authored
Merge pull request CloudBotIRC#187 from linuxdaemon/gonzobot+fix-link-title-stripping
Fix link title stripping
2 parents 1994d64 + 683ecb9 commit aa6f970

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/link_announcer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,5 @@ def print_url_title(message, match):
6464

6565
if html.title:
6666
title = html.title.text
67-
out = "Title: \x02{}\x02".format(title)
67+
out = "Title: \x02{}\x02".format(title.strip())
6868
message(out)

0 commit comments

Comments
 (0)