lib/kitabu/exporter/html.rb in kitabu-2.0.1 vs lib/kitabu/exporter/html.rb in kitabu-2.0.2
- old
+ new
@@ -62,10 +62,10 @@
# Parse layout file, making available all configuration entries.
#
def parse_layout(html)
toc = TOC::HTML.generate(html)
- content = Footnotes::HTML.process(toc.content).html.css('html').first.inner_html
+ content = Footnotes::HTML.process(toc.content).html.css('body').first.inner_html
locals = config.merge({
content: content,
toc: toc.to_html,
changelog: render_changelog