Skip to content
Snippets Groups Projects
Commit 1ae1cdd4 authored by rswindell's avatar rswindell
Browse files

Added all the required HTML tags, monospace font, black background.

parent 6a30c0c9
No related branches found
No related tags found
No related merge requests found
......@@ -7,4 +7,19 @@ if(!file.open("r")) {
}
var text = file.readAll();
file.close();
write(html_encode(text.join("\n")));
writeln('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">');
writeln("<html>");
writeln("<head>");
writeln("<meta http-equiv='Content-Type' content='text/html; charset=IBM437'>");
writeln("</head>");
writeln("<body bgcolor=black>");
writeln("<pre>");
writeln("<font face='monospace'>");
write(html_encode(text.join("\r\n")
,/* es-ASCII: */true
,/* white-sp: */false
,/* ANSI: */true
,/* Ctrl-A: */true));
writeln("</pre>");
writeln("</body>");
writeln("</html>");
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment