From 9531583e6aa5283bd43922b14b96406115ef930b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 4 Nov 2014 14:35:04 +0100 Subject: [PATCH] handle real links in odt (#5861) --- odf2legi/odf2legi.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/odf2legi/odf2legi.py b/odf2legi/odf2legi.py index 128e6f7..feef1ef 100644 --- a/odf2legi/odf2legi.py +++ b/odf2legi/odf2legi.py @@ -291,6 +291,8 @@ def fill_inline(para, elem, invert_bg=False): # another situation that happens with some copy/pasting from # Microsoft Word fill_inline(para, child) + elif len(child.getchildren()): + fill_inline(para, child) else: handle_little_span(para, child, False)