X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/3ff49a787a8fa5e6a7a7e6e72caf6579ceb2c0a2..ad7b5c75f9161ac14f1f26032f4b4d54077b65a4:/librarian/text.py diff --git a/librarian/text.py b/librarian/text.py index 9edfa62..37bd7ed 100644 --- a/librarian/text.py +++ b/librarian/text.py @@ -45,6 +45,8 @@ def transform(wldoc, flags=None, **options): if flags: for flag in flags: document.edoc.getroot().set(flag, 'yes') + if 'wrapping' in options: + options['wrapping'] = str(options['wrapping']) result = document.transform(style, **options)