Page title is not parsed when file contains Windows line endings
ciwchris opened this issue · 4 comments
When generating a new Doctave site on Windows, doctave init
, the Examples
page is generated with Windows line endings. These line endings prevent the title
from being parsed by Doctave and instead are included as markdown content, as if it were just markdown content. The same issue occurs when generating new files on Windows, because they also contain Windows line endings. After changing the files to Unix line endings then the title
is parsed by Doctave and the page's title is displayed as expected.
Thank you Chris for such a detailed bug report! I'm going to dig into this today - my guess is that this should be a reasonably straightforward fix in the frontmatter parser.
Unfortunately as I started working on this and pushed a test to verify the bug, GitHub decides to have an Actions outage for Windows specifically:
- GitHub Support forum: https://github.community/t/github-actions-windows-down/206312
- Doctave's hanging CI run: https://github.com/Doctave/doctave/actions/runs/1336532253
Will keep an eye on when this clears up.
I'm going to create a new 0.2.1 release shortly. This bug should be fixed in that one.
Thank you again for reporting the issue!
Works perfect. Thanks! 🎉