You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pandoc currently does not support block elements (like <p>) as figure captions. Closing in favour of #3177.
btw. if you only want to do html to epub (which is basically just a zipped html bundle), you'll probably get better results with another tool than pandoc, e.g. calibre. From our manual:
Because pandoc’s intermediate representation of a document is less expressive than many of the formats it converts between, one should not expect perfect conversions between every format and every other. Pandoc attempts to preserve the structural elements of a document, but not formatting details such as margin size. And some document elements, such as complex tables, may not fit into pandoc’s simple document model. While conversions from pandoc’s Markdown to all formats aspire to be perfect, conversions from formats more expressive than pandoc’s Markdown can be expected to be lossy.
I'm curious why Pandoc removes
<p>
from<figcaption>
.My original HTML:
Then I run:
EPUB's HTML then looks like:
My Pandoc version:
The text was updated successfully, but these errors were encountered: