X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/807df526faddb8682eb20cd0a61b39d18a84ff85..ebe02c4c8c6e0bb91fe6a31b1648fab17f23d097:/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)