Skip to content

Commit

Permalink
Fix Bikeshed fixup to properly balance section elements
Browse files Browse the repository at this point in the history
  • Loading branch information
dschuff authored and Ms2ger committed Jan 24, 2025
1 parent f3a0e06 commit 38b5bdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion document/core/util/bikeshed_fixup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def Main():
# get carried over into the resulting bikeshed output and then end up causing
# the W3C pubrules checker to refuse to autopublish that bikeshed output.
data = re.sub(r'.+?(<div class="toctree-wrapper compound">.+)',
r'<!doctype HTML>\n<meta charset="utf-8">\n<body>\1',
r'<!doctype HTML>\n<meta charset="utf-8">\n<body><section id="webassembly-specification">\1',
data, flags=re.DOTALL)

# Drop spurious navigation from footer.
Expand Down

0 comments on commit 38b5bdd

Please sign in to comment.