From 532fa42622be5edaed350aab8a9223ff665f1ca4 Mon Sep 17 00:00:00 2001 From: shirshasa Date: Mon, 5 Jul 2021 13:15:05 +0300 Subject: [PATCH] epub converter:small fix --- src/css_reader.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/css_reader.py b/src/css_reader.py index 3f66c72..bbb4710 100644 --- a/src/css_reader.py +++ b/src/css_reader.py @@ -115,6 +115,7 @@ LIVECARTA_STYLE_ATTRS_MAPPING = { 'color': get_text_color, 'background-color': get_bg_color, 'background': get_bg_color, + 'border': lambda x: x if x != '0' else '', 'border-top-width': lambda x: x if x != '0' else '', 'border-right-width': lambda x: x if x != '0' else '', 'border-left-width': lambda x: x if x != '0' else '',