From 38b5bddffb98d51d28e8fd6e61340fa27daf5add Mon Sep 17 00:00:00 2001 From: Derek Schuff Date: Thu, 23 Jan 2025 16:16:22 -0800 Subject: [PATCH] Fix Bikeshed fixup to properly balance section elements --- document/core/util/bikeshed_fixup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/document/core/util/bikeshed_fixup.py b/document/core/util/bikeshed_fixup.py index 5499a8cddb..48938aa054 100755 --- a/document/core/util/bikeshed_fixup.py +++ b/document/core/util/bikeshed_fixup.py @@ -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'.+?(
.+)', - r'\n\n\1', + r'\n\n
\1', data, flags=re.DOTALL) # Drop spurious navigation from footer.