Skip to content
Snippets Groups Projects
Commit f81a2300 authored by Tim Wickberg's avatar Tim Wickberg Committed by Brian Christiansen
Browse files

Change white space to underscores in man page HTML section and option names.

Bug 2006
parent 0318c0d2
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,7 @@ def insert_tag(html, lineIn):
posEnd = lineIn.find("</H2>")
if posEnd != -1:
id_name = lineIn[4:posEnd]
id_name = id_name.replace(' ','-')
if id_name in ids:
ids[id_name] += 1
id_name += "_" + str(ids[id_name])
......@@ -51,6 +52,7 @@ def insert_tag(html, lineIn):
return
id_name = lineIn[posBgn:posEnd]
id_name = id_name.replace(' ','-')
if id_name in ids:
ids[id_name] += 1
id_name += "_" + str(ids[id_name])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment