aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--makespec.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/makespec.py b/makespec.py
index fece148..9b5d523 100644
--- a/makespec.py
+++ b/makespec.py
@@ -130,6 +130,8 @@ elif specformat == "html":
[retcode, result, err] = pipe_through_prog(prog, toc + mdtext)
if retcode == 0:
result = re.sub(r'␣', '<span class="space"> </span>', result)
+ result = re.sub(r'<h([1-6])><a id="([^\"]*)"><\/a> ',
+ "<h\\1 id=\"\\2\">", result)
sys.stdout.write(template.substitute(metadata, body=result))
# check for errors:
TECONTACT_PARTICIPANT_FINALPICK.doodle@worker2/sugar0
-rw-r--r--tags/02/16/1216998093.4339378.1385858245240.POLL_INVITECONTACT_PARTICIPANT_FINALPICK.doodle@worker2/unread0
-rw-r--r--tags/02/16/1247403981.4276.1.camel@hitman/sugar0
-rw-r--r--tags/02/16/20170115060414.978A3A5A@lxp5.free-owl.de/sys0
-rw-r--r--tags/02/16/20170115060414.978A3A5A@lxp5.free-owl.de/unread0
-rw-r--r--tags/02/16/20180518110253.0A20F1C106@jawa.homebase.dk/hb0
-rw-r--r--tags/02/16/20180518110253.0A20F1C106@jawa.homebase.dk/sys0
-rw-r--r--tags/02/16/20180518110253.0A20F1C106@jawa.homebase.dk/unread0
-rw-r--r--tags/02/16/20190717T134759.GA.b360c.stse@fsing.rootsland.net/debian0
-rw-r--r--tags/02/16/20190717T134759.GA.b360c.stse@fsing.rootsland.net/signed0
-rw-r--r--tags/02/16/20190717T134759.GA.b360c.stse@fsing.rootsland.net/unread0
-rw-r--r--tags/02/16/878x4sy1hd.fsf@windlord.stanford.edu/debian0
-rw-r--r--tags/02/16/878x4sy1hd.fsf@windlord.stanford.edu/inbox0
-rw-r--r--tags/02/16/878x4sy1hd.fsf@windlord.stanford.edu/old0
-rw-r--r--tags/02/16/87y5u6swd7.fsf@algae.riseup.net/debian0
-rw-r--r--tags/02/16/87y5u6swd7.fsf@algae.riseup.net/signed0
-rw-r--r--tags/02/16/handler.s.B.15467208894345.transcript@bugs.debian.org/debian0
-rw-r--r--tags/02/16/handler.s.B.15467208894345.transcript@bugs.debian.org/unread0
20 files changed, 0 insertions, 0 deletions