Sphinx not always closing tag for EPUB

13 views
Skip to first unread message

Ken

unread,
Sep 21, 2020, 10:37:39 AM9/21/20
to sphinx-users
I've noticed that sometimes when generating an EPUP document with Sphinx (3.1.2), that that the generated XHTML meta viewport line doesn't have a closing tag:

<meta name="viewport" content="width=device-width, initial-scale=1.0">

Since it is XHTML, it should be:

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

Anyone else seen this or know what might be causing it? It's enough of a problem that it prevents the EPUB file from working.

Ken Morse

unread,
Sep 21, 2020, 11:08:09 AM9/21/20
to sphinx...@googlegroups.com
Apparently my Docker image was a bit stale. Pulled the latest image and now sphinx-build is 3.2.1, which seems to have fixed the problem with closing the meta tag.
--
You received this message because you are subscribed to the Google Groups "sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/dd53354c-cb29-4d0a-b8c4-ba72e86d0bean%40googlegroups.com.

Daniel Scott

unread,
Nov 25, 2020, 10:30:31 PM11/25/20
to sphinx...@googlegroups.com
--
Reply all
Reply to author
Forward
0 new messages