X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/12b5230d8fdb3ad995e867fb5d58a69e8a627e68..c5a372b4595e9ee280ca38b5f361a3a22141fb38:/librarian/html.py?ds=sidebyside diff --git a/librarian/html.py b/librarian/html.py index 6a6e3db..73da1b8 100644 --- a/librarian/html.py +++ b/librarian/html.py @@ -57,6 +57,7 @@ def transform(wldoc, stylesheet='legacy', options=None, flags=None): if not options: options = {} + options.setdefault('gallery', "''") result = document.transform(style, **options) del document # no longer needed large object :)