fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'quiris/master' into quiris
[librarian.git]
/
librarian
/
text.py
diff --git
a/librarian/text.py
b/librarian/text.py
index
9edfa62
..
37bd7ed
100644
(file)
--- 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 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)
result = document.transform(style, **options)