-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
Description
Problem
The included template, sphinx_rtd_theme/layout.html, does not have an equal number of <div>
and </div>
tags making it effectively invalid as per html standard.
Counting the numbers of <div>
tags I get 12 and counting </div>
I only get 11...
Reproducible Project
Including a simple shell script example:
# number of start tags:
grep -c '<div' sphinx_rtd_theme/layout.html
# number of end tags:
grep -c '</div' sphinx_rtd_theme/layout.html
Expected Results
Correctly start (<div>
) and end (</div>
) all tags in the template so it correctly follows the HTML standard, neither tag is omissible.
Ref:
https://html.spec.whatwg.org/multipage/grouping-content.html#the-div-element
Environment Info
- Python Version: N/A
- Sphinx Version: N/A
- RTD Theme Version: master branch (as of 2022-01-10).