formatchar: highlight by unicode range if no digraphs
[sheet.git] / common.inc.plp
index e48cd2ce22d012023e19e65f8b48800faa4144aa..b3a9a70520660bf4fffeb0319a2b826275a8e34b 100644 (file)
@@ -66,7 +66,8 @@ sub Html {
        # leading output
        $header{content_type} = "text/html; charset=$meta->{charset}";
        print <<"EOT";
-<!DOCTYPE HTML>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
 <html lang="en">
 
 <head>
@@ -83,7 +84,7 @@ EOT
        # prepare trailing output
        PLP_END {
                print <<"EOT";
-<footer><p>
+<p class="footer">
        <a href="/" rel="home">sheet.shiar.nl</a>/$file.<a href="/source/$file.plp"
         rel="code" title="Written in Perl">plp</a>
        <a href="http://git.shiar.nl/sheet.git/history/HEAD:/$file.plp"
@@ -91,7 +92,7 @@ EOT
        created by <a href="http://shiar.nl/" rel="author">Shiar</a> $sep
        <a href="http://www.fsf.org/licensing/licenses/agpl-3.0.html" rel="copyright"
         title="Licensed under the GNU Affero General Public License, version 3">AGPLv3</a>
-</p></footer>
+</p>
 
 </html>
 EOT