X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/8885fd14f5f040eb3aa69f1d705856f99a1fa572..0b270a76ad73162f894285c360a0ee87fa84e536:/src/catalogue/fields.py?ds=inline diff --git a/src/catalogue/fields.py b/src/catalogue/fields.py index 087fe0d88..94bdb6097 100644 --- a/src/catalogue/fields.py +++ b/src/catalogue/fields.py @@ -306,7 +306,7 @@ class HtmlField(EbookField): book = fieldfile.instance - html_output = self.transform(book.wldocument(parse_dublincore=False)) + html_output = self.transform(book.wldocument(parse_dublincore=False), book) # Delete old fragments, create from scratch if necessary. book.fragments.all().delete()