lib/kitabu/exporter/html.rb in kitabu-3.0.3 vs lib/kitabu/exporter/html.rb in kitabu-3.1.0
- old
+ new
@@ -71,10 +71,10 @@
toc = TOC::HTML.generate(html)
content =
Footnotes::HTML.process(toc.content).html.css("body").first.inner_html
locals = config.merge(
- content: content,
+ content:,
toc: toc.to_html,
changelog: render_changelog
)
render_template(root_dir.join("templates/html/layout.erb"), locals)