diff --git a/Doc/texi2html.py b/Doc/texi2html.py
index c24a01925e5..7d96da38746 100644
--- a/Doc/texi2html.py
+++ b/Doc/texi2html.py
@@ -48,17 +48,23 @@
spprog = regex.compile('[\n@{}&<>]') # Special characters in running text
miprog = regex.compile( \
'^\* \([^:]*\):\(:\|[ \t]*\([^\t,\n.]+\)\([^ \t\n]*\)\)[ \t\n]*')
- # menu item (Yuck!)
+ # menu item (Yuck!)
-class Node:
- __doc__ = """
- Some of the parser's functionality is separated into this class.
+class HTMLNode:
+ """Some of the parser's functionality is separated into this class.
A Node accumulates its contents, takes care of links to other Nodes
- and saves itself when it is finished and all links are resolved. """
+ and saves itself when it is finished and all links are resolved.
+ """
- def __init__ (self, dir, name, topname, title, next, prev, up):
+ DOCTYPE = ''
+
+ type = 0
+ cont = ''
+ epilogue = '