webgen v4.0.8 Added Style for HR-Tags, reformatted

This commit is contained in:
Wolfgang Nowak 2022-09-16 09:42:09 +02:00
parent bf42a1b6c9
commit 8a66b31197

View file

@ -153,7 +153,7 @@ def mkdirindex(filesdir, indexfilename, filesdirheadline):
body1 = '<a class="Statement" href="../">Back</a><br/><br/><hr>' body1 = '<a class="Statement" href="../">Back</a><br/><br/><hr>'
body1 += '<div class="Statement"> Some files. Maybe useful or not.</div> ' body1 += '<div class="Statement"> Some files. Maybe useful or not.</div> '
body1 += '<table border="0" class="Neutral">' body1 += '<table border="0" class="Neutral">'
foot = "</table><br/><strong>You can't avoid chaos.</strong><br/><hr></body> </html>\n" foot = '</table><br/><strong>You can\'t avoid chaos.</strong><br/><hr class="myhr" ></body> </html>\n'
linecounter = 0 linecounter = 0
dirindexfile = open(filesdir + indexfilename, "w") dirindexfile = open(filesdir + indexfilename, "w")
@ -261,7 +261,7 @@ head1 = (
style_fn = '<link rel="stylesheet" type="text/css" href="/vimstyles.css">' style_fn = '<link rel="stylesheet" type="text/css" href="/vimstyles.css">'
head2 = "</head><body>\n" head2 = "</head><body>\n"
body1 = '<a href="./">Back</a><blockquote><strong>Moin</strong></p>' body1 = '<a href="./">Back</a><blockquote><strong>Moin</strong></p>'
foot = "<br /><hr width=50% /></body> </html>\n" foot = '<br /><hr class="myhr" /></body> </html>\n'
# write beginning of html-file # write beginning of html-file
html_out_file.write(head1 + style_fn + head2 + body1) html_out_file.write(head1 + style_fn + head2 + body1)