Skip to content

Commit d9f2d64

Browse files
committed
Use more concise HTML5 and remove language assumption
1 parent 23dca07 commit d9f2d64

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

zem_contact_reborn.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -579,15 +579,15 @@ function zem_contact($atts, $thing = null)
579579
$uri = txpspecialchars($uri);
580580
$refresh = gTxt('zem_contact_refresh');
581581
echo <<<END
582-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
583-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
582+
<!DOCTYPE html>
583+
<html>
584584
<head>
585+
<meta charset="utf-8">
585586
<title>$sitename</title>
586-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
587-
<meta http-equiv="refresh" content="0;url=$uri" />
587+
<meta http-equiv="refresh" content="0;url=$uri">
588588
</head>
589589
<body>
590-
<a href="$uri">$refresh</a>
590+
<a href="$uri">$refresh</a>
591591
</body>
592592
</html>
593593
END;

0 commit comments

Comments
 (0)