From 6d8609837e9e68b2af43a31d5b308515ebb06106 Mon Sep 17 00:00:00 2001 From: Derek Schuff Date: Fri, 4 Oct 2024 14:23:55 -0700 Subject: [PATCH] Remove some unneeded bikeshed fixup hacks --- document/core/util/bikeshed_fixup.py | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/document/core/util/bikeshed_fixup.py b/document/core/util/bikeshed_fixup.py index da3d2efa59..c74d19f544 100755 --- a/document/core/util/bikeshed_fixup.py +++ b/document/core/util/bikeshed_fixup.py @@ -12,11 +12,7 @@ def Main(): data = open(sys.argv[1]).read() - # Make bikeshed happy - # Apparently it can't handle empty line before DOCTYPE comment - data = data.replace('\n - data = data.replace('
', '\n
')
+  # Clean up the input for Bikeshed
 
   # Don't add more than 3 levels to TOC.
   data = data.replace('
', '
') @@ -42,18 +38,6 @@ def Main(): '

A.' + str(number) + ' ' + section + '

') number += 1 - - # Drop spurious navigation. - data = data.replace( -""" - """, '') - # Use bikeshed biblio references for unicode and IEEE754 data = data.replace( """Unicode""",