X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/97987728a2c8ca9d3527d9ef34b5d84d8f28ead7..c7734daf3d6884c358f1644c1f8f7970453fafb1:/src/librarian/builders/epub.py diff --git a/src/librarian/builders/epub.py b/src/librarian/builders/epub.py index 902b460..8544846 100644 --- a/src/librarian/builders/epub.py +++ b/src/librarian/builders/epub.py @@ -11,8 +11,6 @@ import librarian.epub from librarian.fonts import strip_font - - class Xhtml: def __init__(self): self.element = etree.XML('''WolneLektury.pl''') @@ -61,8 +59,6 @@ class Builder: def forget_fragment(self, name): del self.cursors[name] - - @property def base_url(self): if self._base_url is not None: @@ -80,6 +76,7 @@ class Builder: class EpubBuilder(Builder): file_extension = 'epub' isbn_field = 'isbn_epub' + orphans = True def __init__(self, *args, **kwargs): self.chars = set()