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

Do not include xmlns attribute with HTML 5 doctype #7449

Merged
merged 1 commit into from Apr 9, 2020

Conversation

mitya57
Copy link
Contributor

@mitya57 mitya57 commented Apr 9, 2020

Subject: fix detection of documents generated with Sphinx by shared-mime-info

Feature or Bugfix

  • Bugfix

Purpose

Detail

Here is how Sphinx' own documentation looks in Epiphany (GNOME browser):

Sphinx in Epiphany

Line 45 is inside a <script> tag:

        if (sbh < win.innerHeight()) {

Parsing fails because XHTML requires < to be escaped as &gt;.

If I try to open search.html, it says: error on line 27 at column 37: Specification mandates value for attribute defer.

Relates

@tk0miya tk0miya added this to the 3.0.1 milestone Apr 9, 2020
@tk0miya tk0miya merged commit 9ff5b21 into sphinx-doc:3.0.x Apr 9, 2020
@tk0miya
Copy link
Member

tk0miya commented Apr 9, 2020

Merged. Thanks,

tk0miya added a commit to tk0miya/sphinx that referenced this pull request Apr 9, 2020
tk0miya added a commit that referenced this pull request Apr 9, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants