Skip to content

Commit 683ecb9

Browse files
committed
Fix link title stripping
1 parent 1994d64 commit 683ecb9

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)