From 470fdbbaa29db575cda4e8e0eb4e94a3f04ff929 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Wed, 20 Jul 2011 03:59:01 +0000
Subject: [PATCH] Remove various old hacks which should not be needed anymore,
 and make it HTML 4.01 Strict valid.

---
 exec/asc_handler.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/exec/asc_handler.js b/exec/asc_handler.js
index cb1743c92b..d691bd885d 100644
--- a/exec/asc_handler.js
+++ b/exec/asc_handler.js
@@ -29,11 +29,11 @@ file.close();
 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("<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>");
+writeln("<title>"+file.name.replace(/^.*[\/\\]/,'')+"</title>");
 writeln("</head>");
-writeln("<body bgcolor=black>");
+writeln('<body style="background-color: black;">');
 writeln("<pre>");
-writeln("<font face='monospace'>");
 write(html_encode(text.join("\r\n")
 	,/* es-ASCII: */true
 	,/* white-sp: */false
-- 
GitLab