Name the used encoding as soon as possible. This may actually be
mandatory in HTML5, but makes more sense in any case (except in
practise, where browsers use either the HTTP header or support meta
tags at any time).
Fix some invalid meta values (missing mime type).
+<meta http-equiv="content-type" content="<:= $header{content_type} :>">
<title>country code cheat sheet</title>
<title>country code cheat sheet</title>
-<meta http-equiv="content-type" content="utf-8">
<link rel="stylesheet" type="text/css" media="all" href="/base.css">
</head>
<link rel="stylesheet" type="text/css" media="all" href="/base.css">
</head>
+<meta http-equiv="content-type" content="<:= $header{content_type} :>">
<title>charset cheat sheet</title>
<title>charset cheat sheet</title>
-<meta http-equiv="content-type" content="utf-8">
<link rel="stylesheet" type="text/css" media="all" href="/base.css">
</head>
<link rel="stylesheet" type="text/css" media="all" href="/base.css">
</head>
+<meta http-equiv="content-type" content="<:= $header{content_type} :>">
<title>digraph cheat sheet</title>
<title>digraph cheat sheet</title>
-<meta http-equiv="content-type" content="utf-8">
<link rel="stylesheet" type="text/css" media="all" href="/base.css"><:
my %styles = map {$_ => $_} qw(dark circus mono red terse);
our $style = exists $get{style} && $styles{$get{style}} || 'light';
<link rel="stylesheet" type="text/css" media="all" href="/base.css"><:
my %styles = map {$_ => $_} qw(dark circus mono red terse);
our $style = exists $get{style} && $styles{$get{style}} || 'light';
-<title>vi cheat sheet</title>
<meta http-equiv="content-type" content="<:= $header{content_type} :>">
<meta http-equiv="content-type" content="<:= $header{content_type} :>">
+<title>vi cheat sheet</title>
<link rel="stylesheet" type="text/css" media="all" href="base.css">
<style type="text/css">
ul {
<link rel="stylesheet" type="text/css" media="all" href="base.css">
<style type="text/css">
ul {
-<title>nethack cheat sheet</title>
<meta http-equiv="content-type" content="<:= $header{content_type} :>">
<meta http-equiv="content-type" content="<:= $header{content_type} :>">
+<title>nethack cheat sheet</title>
<link rel="stylesheet" type="text/css" media="all" href="base.css">
<!--[if lte IE 6]><style> .help dl.legend dt {margin:0 0 1px} </style><![endif]-->
<!--[if lte IE 7]><style> .help dl.legend dd {float:none} </style><![endif]--><:
<link rel="stylesheet" type="text/css" media="all" href="base.css">
<!--[if lte IE 6]><style> .help dl.legend dt {margin:0 0 1px} </style><![endif]-->
<!--[if lte IE 7]><style> .help dl.legend dd {float:none} </style><![endif]--><:
-<title>readline cheat sheet</title>
<meta http-equiv="content-type" content="<:= $header{content_type} :>">
<meta http-equiv="content-type" content="<:= $header{content_type} :>">
+<title>readline cheat sheet</title>
<link rel="stylesheet" type="text/css" media="all" href="base.css">
<!--[if lte IE 6]><style> .help dl.legend dt {margin:0 0 1px} </style><![endif]-->
<!--[if lte IE 7]><style> .help dl.legend dd {float:none} </style><![endif]--><:
<link rel="stylesheet" type="text/css" media="all" href="base.css">
<!--[if lte IE 6]><style> .help dl.legend dt {margin:0 0 1px} </style><![endif]-->
<!--[if lte IE 7]><style> .help dl.legend dd {float:none} </style><![endif]--><:
-<title>digraph cheat sheet</title>
<meta http-equiv="content-type" content="utf-8">
<meta http-equiv="content-type" content="utf-8">
+<title>digraph cheat sheet</title>
<link rel="stylesheet" type="text/css" media="all" href="/base.css"><:
my %styles = map {$_ => $_} qw(dark circus mono red terse);
our $style = exists $get{style} && $styles{$get{style}} || 'light';
<link rel="stylesheet" type="text/css" media="all" href="/base.css"><:
my %styles = map {$_ => $_} qw(dark circus mono red terse);
our $style = exists $get{style} && $styles{$get{style}} || 'light';
-<title>vi cheat sheet</title>
<meta http-equiv="content-type" content="<:= $header{content_type} :>">
<meta http-equiv="content-type" content="<:= $header{content_type} :>">
+<title>vi cheat sheet</title>
<link rel="stylesheet" type="text/css" media="all" href="base.css">
<!--[if lte IE 6]><style> .help dl.legend dt {margin:0 0 1px} </style><![endif]-->
<!--[if lte IE 7]><style> .help dl.legend dd {float:none} </style><![endif]--><:
<link rel="stylesheet" type="text/css" media="all" href="base.css">
<!--[if lte IE 6]><style> .help dl.legend dt {margin:0 0 1px} </style><![endif]-->
<!--[if lte IE 7]><style> .help dl.legend dd {float:none} </style><![endif]--><: