stupid bug in epub
[librarian.git] / scripts / book2html
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 #
4 # This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
5 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
6 #
7 from librarian.book2anything import Book2Anything, Option
8 from librarian.formats.html import HtmlFormat
9
10
11 class Book2Html(Book2Anything):
12     format_cls = HtmlFormat
13
14     format_options = [
15         Option('-r', '--raw', dest='standalone',
16                 action='store_false', default=True,
17                 help='output raw text for use in templates')
18     ]
19
20
21 if __name__ == '__main__':
22     Book2Html.run()