aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2025-03-08 15:17:06 +0100
committerRodrigo Arias Mallo <rodarima@gmail.com>2025-03-08 15:17:06 +0100
commit701403902817636f8825515cc08dbd05e7aeb42d (patch)
tree8773557353dddbed9f72c63d38b0903bfbe1100e
parentfc2bfc27ec69ac45f68831e5ffc07b834b8895c2 (diff)
Add HTML5 doctype
-rwxr-xr-xinfo2html3
1 files changed, 3 insertions, 0 deletions
diff --git a/info2html b/info2html
index 51d4841..56268ee 100755
--- a/info2html
+++ b/info2html
@@ -82,6 +82,7 @@ sub DieFileNotFound{
local($FileName) = @_;
#-- TEXT : error message if a file could not be opened
print <<"EOF";
+<!doctype html>
<html><head><title>Info Files - Error Message</title>
$BOTS_STAY_AWAY
$CSS_STYLE
@@ -447,6 +448,7 @@ sub PrintHeader{
;
print <<"EOF";
+<!doctype html>
<html><head><title>Info: ($BaseInfoFile) $LinkList[1]</title>
$CSS_STYLE
$HTML_HEAD_STUFF</head><body class='node'>
@@ -496,6 +498,7 @@ sub PrintFooter{
sub ReplyNotFoundMessage{
local($FileName,$Tag) = @_;
print <<"EOF";
+<!doctype html>
<html><head><title>Info Files - Error Message</title>
$BOTS_STAY_AWAY
$CSS_STYLE