From 9f7fe96177ccaa032f2e8ae766c8ec95543c0f05 Mon Sep 17 00:00:00 2001 From: Andreas Kempe <kempe@lysator.liu.se> Date: Fri, 12 Mar 2021 00:30:21 +0100 Subject: [PATCH] parsers: voidlinux: don't ignore links Having no links in the messages to avoid markdown syntax was not a good idea. When links are referenced, they're currently replaced by empty space which looks weird. --- rss2nntp/parsers/voidlinux.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rss2nntp/parsers/voidlinux.py b/rss2nntp/parsers/voidlinux.py index b44571d..7dda10c 100644 --- a/rss2nntp/parsers/voidlinux.py +++ b/rss2nntp/parsers/voidlinux.py @@ -21,8 +21,7 @@ class Voidlinux: def parse(self, entry): h = html2text.HTML2Text() h.ignore_emphasis = True - h.ignore_links = True - h.ignore_images = True + h.ignore_links = False h.ignore_images = True body = h.handle(entry.summary) -- GitLab