From 3acdb97ed96bb54a04c031e017c2059f86db57e4 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Tue, 15 Mar 2016 16:36:46 +0100 Subject: [PATCH] images in HTML --- librarian/html.py | 1 + librarian/xslt/book2html.xslt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 @@ - + -- 2.20.1