From: Jan Szejko Date: Tue, 15 Mar 2016 15:36:46 +0000 (+0100) Subject: images in HTML X-Git-Tag: 1.7~76 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/3acdb97ed96bb54a04c031e017c2059f86db57e4?ds=sidebyside images in HTML --- 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 :) diff --git a/librarian/xslt/book2html.xslt b/librarian/xslt/book2html.xslt index c8aa52b..715490e 100644 --- a/librarian/xslt/book2html.xslt +++ b/librarian/xslt/book2html.xslt @@ -119,7 +119,7 @@ - +