From: Jan Szejko Date: Wed, 10 Jan 2018 14:24:36 +0000 (+0100) Subject: when removing empty tags remove also empty links X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/88cedb5be51fb49904863bdd463e508e9cda8f37 when removing empty tags remove also empty links --- diff --git a/apps/catalogue/xml_tools.py b/apps/catalogue/xml_tools.py index 72e860fa..abab7f27 100644 --- a/apps/catalogue/xml_tools.py +++ b/apps/catalogue/xml_tools.py @@ -207,7 +207,6 @@ EXCEPTIONS = [ ('div', 'img'), ('div', 'video'), ('div', 'table.cell'), - ('span', 'link'), ]