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

First headline is not recognized when File encoding is UTF-8-BOM #41

Open
CleanCodeDeveloper opened this issue Jan 17, 2022 · 1 comment

Comments

@CleanCodeDeveloper
Copy link

First headline is not recognized when File encoding is UTF-8-BOM
image

Works perfect after changing encoding to UTF-8
image

@datdenkikniet
Copy link
Contributor

datdenkikniet commented Jan 24, 2022

Seems like the library must explicitly account for the existence of this BOM codepoint. There is some precedent for doing exactly this, and it doesn't seem too difficult: toml-rs/toml-rs#75

I'm guessing this should be fixed in doctave-markdown

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

Successfully merging a pull request may close this issue.

2 participants