mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-17 06:00:42 +01:00
RSS: Fix formating if newline character in an entry title. Closes GH-395.
This commit is contained in:
parent
ba6e2fff6f
commit
0537166502
@ -152,7 +152,8 @@ class RSS(callbacks.Plugin):
|
|||||||
else:
|
else:
|
||||||
for headline in headlines:
|
for headline in headlines:
|
||||||
newheadlines = [format('%s', h[0]) for h in headlines]
|
newheadlines = [format('%s', h[0]) for h in headlines]
|
||||||
return newheadlines
|
return map(lambda x:x.replace('\n', ' ').replace('\r', ''),
|
||||||
|
newheadlines)
|
||||||
|
|
||||||
def _newHeadlines(self, irc, channels, name, url):
|
def _newHeadlines(self, irc, channels, name, url):
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user