X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/807df526faddb8682eb20cd0a61b39d18a84ff85..93feaddca5c58890a7ac5abb909ed39fd501048a:/librarian/text.py diff --git a/librarian/text.py b/librarian/text.py index 9a4fd7a..d965a47 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)