Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EPUB’s XHTML source lacks line breaks; makes diffing impractical #1424

Closed
elmimmo opened this issue Jul 14, 2014 · 0 comments
Closed

EPUB’s XHTML source lacks line breaks; makes diffing impractical #1424

elmimmo opened this issue Jul 14, 2014 · 0 comments

Comments

@elmimmo
Copy link

elmimmo commented Jul 14, 2014

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.

@jgm jgm closed this as completed in 73b0630 Jul 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant