Minor stylistic updates (I missed two strings using triple double quotes instead of triple single quotes)

This commit is contained in:
Jeremy Fincher 2003-11-20 00:47:20 +00:00
parent b8c6b3795a
commit 0f19c104a8

View File

@ -51,7 +51,7 @@ commandDict = {}
firstChars = {} firstChars = {}
def genHeader(title, meta=''): def genHeader(title, meta=''):
return """ return '''
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd"> "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-us"> <html lang="en-us">
@ -62,10 +62,10 @@ def genHeader(title, meta=''):
href="http://supybot.sourceforge.net/css/supybot.css"> href="http://supybot.sourceforge.net/css/supybot.css">
%s %s
<body><div> <body><div>
""" % (title, meta) ''' % (title, meta)
def genFooter(): def genFooter():
return """ return '''
</div> </div>
<div style="text-align: center"><br /><!-- Buttons --> <div style="text-align: center"><br /><!-- Buttons -->
<a href="http://validator.w3.org/check/referer"><img <a href="http://validator.w3.org/check/referer"><img
@ -82,7 +82,7 @@ def genFooter():
</div> </div>
</body> </body>
</html> </html>
""" '''
def prepIndex(): def prepIndex():
directory = os.path.join('docs', 'plugins') directory = os.path.join('docs', 'plugins')