Skip to content
Snippets Groups Projects
Commit 470fdbba authored by deuce's avatar deuce
Browse files

Remove various old hacks which should not be needed anymore, and make it

HTML 4.01 Strict valid.
parent 82b243ec
Branches
Tags
No related merge requests found
...@@ -29,11 +29,11 @@ file.close(); ...@@ -29,11 +29,11 @@ file.close();
writeln('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">'); writeln('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">');
writeln("<html>"); writeln("<html>");
writeln("<head>"); writeln("<head>");
writeln("<meta http-equiv='Content-Type' content='text/html; charset=IBM437'>"); writeln("<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>");
writeln("<title>"+file.name.replace(/^.*[\/\\]/,'')+"</title>");
writeln("</head>"); writeln("</head>");
writeln("<body bgcolor=black>"); writeln('<body style="background-color: black;">');
writeln("<pre>"); writeln("<pre>");
writeln("<font face='monospace'>");
write(html_encode(text.join("\r\n") write(html_encode(text.join("\r\n")
,/* es-ASCII: */true ,/* es-ASCII: */true
,/* white-sp: */false ,/* white-sp: */false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment