Generate 'HTML 4.01 Transitional' instead of 'HTML 3.2' SGML
declarations.
This commit is contained in:
parent
100cc16cce
commit
7fece2ee33
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=12479
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
# by John Fieber <jfieber@freebsd.org>
|
||||
# Mon May 13 10:31:58 EST 1996
|
||||
# $FreeBSD: www/en/ports/portindex,v 1.41 2001/07/08 00:20:08 dd Exp $
|
||||
# $FreeBSD: www/en/ports/portindex,v 1.42 2001/10/24 17:38:49 phantom Exp $
|
||||
|
||||
############################################################
|
||||
|
||||
|
@ -56,7 +56,7 @@ sub getdate {
|
|||
|
||||
sub header {
|
||||
local ($fh, $htext) = @_;
|
||||
print $fh "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 3.2//EN\" [\n";
|
||||
print $fh "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" [\n";
|
||||
print $fh "<!ENTITY base CDATA '..'>\n";
|
||||
print $fh "<!ENTITY date \"<em>$today</em>\">\n";
|
||||
print $fh "<!ENTITY title '$htext'>\n";
|
||||
|
|
Loading…
Reference in a new issue