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
When converting from Markdown to EPUB, the latter's XHTML's body has no line breaks whatsoever. Not that it needs them for browsers to render it properly, but it makes diffing the markup impractical, as the whole body is one single very long line.
Converting from Markdown to XHTML does produce line break newlines, and I do not see why EPUB's output has the need to be different from it.
As a matter of fact, I can think how on occasions it might be convenient to have the choice of having Pandoc either collapsing all meaningless whitespace (in this case only newlines, as at any rate it will not produce indented HTML) or not, not specifically in EPUB but in any other HTML-based output format.
The text was updated successfully, but these errors were encountered:
When converting from Markdown to EPUB, the latter's XHTML's body has no line breaks whatsoever. Not that it needs them for browsers to render it properly, but it makes diffing the markup impractical, as the whole body is one single very long line.
Converting from Markdown to XHTML does produce line break newlines, and I do not see why EPUB's output has the need to be different from it.
As a matter of fact, I can think how on occasions it might be convenient to have the choice of having Pandoc either collapsing all meaningless whitespace (in this case only newlines, as at any rate it will not produce indented HTML) or not, not specifically in EPUB but in any other HTML-based output format.
The text was updated successfully, but these errors were encountered: