Remove markdown-related code

Time to clean up the code and stop with those non-core features
They just make the code harder to maintain
This commit is contained in:
2020-03-18 16:47:00 +01:00
parent dbb9cccc42
commit 9dbe061fd6
3 changed files with 2 additions and 15 deletions

View File

@@ -19,7 +19,6 @@ from . import readabilite
import wsgiref.simple_server
import wsgiref.handlers
from html2text import HTML2Text
try:
# python 2
@@ -290,15 +289,6 @@ def ItemAfter(item, options):
if options.noref:
item.link = ''
if options.md:
conv = HTML2Text(baseurl=item.link)
conv.unicode_snob = True
if item.desc:
item.desc = conv.handle(item.desc)
if item.content:
item.content = conv.handle(item.content)
return item