missing anchors in book html
[librarian.git] / librarian / mobi.py
index 65f2598..c3c8f28 100644 (file)
@@ -27,7 +27,7 @@ def transform(wldoc, verbose=False, sample=None, cover=None,
 
     epub = document.as_epub(verbose=verbose, sample=sample,
                             html_toc=True, cover=cover or True, flags=flags,
 
     epub = document.as_epub(verbose=verbose, sample=sample,
                             html_toc=True, cover=cover or True, flags=flags,
-                            hyphenate=hyphenate, ilustr_path=ilustr_path)
+                            hyphenate=hyphenate, ilustr_path=ilustr_path, output_type='mobi')
     if verbose:
         kwargs = {}
     else:
     if verbose:
         kwargs = {}
     else: