From 9e71de8d4078fa1fa69daa19f798b9dcf2ceb4a8 Mon Sep 17 00:00:00 2001 From: pictuga Date: Wed, 24 Oct 2018 23:49:16 +0200 Subject: [PATCH] readabilite: improve output --- morss/readabilite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morss/readabilite.py b/morss/readabilite.py index 122c341..8f1184c 100644 --- a/morss/readabilite.py +++ b/morss/readabilite.py @@ -276,4 +276,4 @@ def get_article(data, url=None, encoding=None): if url: best.make_links_absolute(url) - return lxml.etree.tostring(best) + return lxml.etree.tostring(best, pretty_print=True)