<kbd> elements render on its own line in .epub files
Closed this issue · 3 comments
chrisr87 commented
I may be missing an option that I'm supposed to pass here to get <kbd>
elements to correctly render inline. Thoughts?
# book.toml
[book]
title = "The Rust Programming Language"
authors = ["Steve Klabnik", "Carol Nichols", "Contributions from the Rust Community"]
[rust]
edition = "2021"
[output.pandoc]
hosted-html = "https://doc.rust-lang.org/book"
[output.pandoc.profile.epub]
output-file = "rust-book.epub"
table-of-contents = false
[output.pandoc.profile.epub.variables]
epub-cover-image = "cover.png"
epub-title-page = false
max-heller commented
This seems to be the result of a preprocessing pass that inserts divs to make sure Pandoc generates valid EPUB. It shouldn't be touching inline HTML like this, so I'll look into a fix
max-heller commented
#112 should fix this issue, thanks for reporting! I'll publish a new release shortly
max-heller commented
I released 0.7.2 which should fix this