Skip to content

Commit 38b5bdd

Browse files
dschuffMs2ger
authored andcommitted
Fix Bikeshed fixup to properly balance section elements
1 parent f3a0e06 commit 38b5bdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

document/core/util/bikeshed_fixup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def Main():
6363
# get carried over into the resulting bikeshed output and then end up causing
6464
# the W3C pubrules checker to refuse to autopublish that bikeshed output.
6565
data = re.sub(r'.+?(<div class="toctree-wrapper compound">.+)',
66-
r'<!doctype HTML>\n<meta charset="utf-8">\n<body>\1',
66+
r'<!doctype HTML>\n<meta charset="utf-8">\n<body><section id="webassembly-specification">\1',
6767
data, flags=re.DOTALL)
6868

6969
# Drop spurious navigation from footer.

0 commit comments

Comments
 (0)