summaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1996-10-11 16:54:00 (GMT)
committerFred Drake <fdrake@acm.org>1996-10-11 16:54:00 (GMT)
commit22f7f9e67125c537651a61fff20ed341bf7d492f (patch)
treee240b3964e1d8bdd6799376a8205b34e8125033f /Tools/scripts
parent4bf1296e05da88380780423964e8d3cb9553fbaa (diff)
downloadcpython-22f7f9e67125c537651a61fff20ed341bf7d492f.zip
cpython-22f7f9e67125c537651a61fff20ed341bf7d492f.tar.gz
cpython-22f7f9e67125c537651a61fff20ed341bf7d492f.tar.bz2
(texi2html.py): Added CLASS=Navigation attribute to DIV around top/bottom
navigation links for HTML 3 version. Forced a blank line above the footnotes separator for HTML 2; at least one page did not get this spaced correctly.
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-xTools/scripts/texi2html.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/scripts/texi2html.py b/Tools/scripts/texi2html.py
index 7d96da3..d1c1a74 100755
--- a/Tools/scripts/texi2html.py
+++ b/Tools/scripts/texi2html.py
@@ -147,7 +147,7 @@ class HTML3Node(HTMLNode):
DOCTYPE = '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML Level 3//EN//3.0">'
def open_links(self):
- self.write('<DIV>\n <HR>\n')
+ self.write('<DIV CLASS=Navigation>\n <HR>\n')
def close_links(self):
self.write(' <HR>\n</DIV>\n')
@@ -163,7 +163,7 @@ class TexinfoParser:
FN_TARGET_PATTERN = '<A NAME=footnotetext%(id)s' \
' HREF="#footnoteref%(id)s">' \
+ FN_ID_PATTERN + '</A>\n%(text)s<P>\n'
- FN_HEADER = '\n<HR NOSHADE SIZE=1 WIDTH=200>\n' \
+ FN_HEADER = '\n<P>\n<HR NOSHADE SIZE=1 WIDTH=200>\n' \
'<STRONG><EM>Footnotes</EM></STRONG>\n<P>'