Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Entire source of http://intermezzos.github.io/book/ is on a single line #19

Closed
dholbert opened this issue Dec 28, 2015 · 5 comments
Closed
Labels

Comments

@dholbert
Copy link

STR:

  1. Visit http://intermezzos.github.io/book/
  2. View source (Ctrl+U in Firefox)

ACTUAL RESULTS:
Page source is all on one line, so it's not easily viewable/scrollable.

EXPECTED RESULTS:
Somewhat-easier-to-view page source, with periodic linebreaks, e.g. maybe at the boundaries between major pieces of the page at least.

I presume this page is autogenerated from markdown. I'm hoping/guessing that whatever markdown parser you're using will have that as a feature.

At least, the native GitHub markdown view does insert newlines into the HTML page source, as you can see if you view the source of https://github.com/intermezzOS/book/blob/master/src/preface.md and scroll down. This is only an issue on the actual intermezzos.github.io-backed version of the page.

(Note that this is distinct from #1, though both issues are about linebreaks.)

@dholbert
Copy link
Author

screenshot of "view source" for book in Firefox

@steveklabnik
Copy link
Member

Oh interesting! Yeah, this would be a side effect of mdbook. @azerupi, do you know anythig about this?

@azerupi
Copy link
Contributor

azerupi commented Dec 28, 2015

Indeed, it seems that all the html is rendered on one line. I have to check if it's my code doing that or rust-handlebars.

@azerupi
Copy link
Contributor

azerupi commented Dec 29, 2015

My bad, this is actually the same issue that has been fixed by @asolove one day ago. So this should be fixed when I upload a new version to crates.io

@steveklabnik
Copy link
Member

Great! I'm going to give this a close, then, since it will just get fixed upon updating.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants