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

Include htm5 doctype in the generated nav file #123

Merged
merged 1 commit into from
Dec 7, 2020

Conversation

andyroberts
Copy link
Contributor

Epub3 uses xhtml5 for content files. Although the doctype is not mandatory, it’s better to include it. Editors like Sigil will complain that an epub contains files that not well-formed without the doctype.

I’ve therefore add a version check so it’s only inserted for epub v3.0 or greater.

Epub3 uses xhtml5 for content files. Although the doctype is not mandatory, it’s better to include it. Editors like Sigil will complain that an epub contains files that not well-formed without the doctype.

I’ve therefore add a version check so it’s only inserted for epub v3.0 or greater.
@skoji skoji merged commit dadd00a into skoji:main Dec 7, 2020
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 this pull request may close these issues.

2 participants