diff --git a/odf2legi/tests.py b/odf2legi/tests.py index 6c4124b..87c8159 100644 --- a/odf2legi/tests.py +++ b/odf2legi/tests.py @@ -183,6 +183,18 @@ Plop foobar@example.net plop ''' self.assertEqual(self.convert_to_legi(doc), '''Plop plop plop plop''') + def test_inline_many_span_and_style_and_s(self): + odf2legi.STYLES = {'T1': {'props': ['bold']}} + doc = '''\ + +Plop plop \ +plop plop +''' + self.assertEqual(self.convert_to_legi(doc), + '''Plop plop plop plop\n''') +