From 14e719f07fcb43c9a0ada3f9f9f018ff5a20a1cf Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Mon, 11 May 2009 18:52:56 +0000 Subject: [PATCH] define charset first, before title 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). --- cc.plp | 2 +- charset.plp | 2 +- digraphs.plp | 2 +- index.plp | 2 +- nethack.plp | 2 +- readline.plp | 2 +- unicode.plp | 2 +- vim.plp | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cc.plp b/cc.plp index 57a8d91..584884d 100644 --- a/cc.plp +++ b/cc.plp @@ -13,8 +13,8 @@ $header{content_type} = 'text/html; charset=utf-8'; + country code cheat sheet - diff --git a/charset.plp b/charset.plp index bce918b..a3e845d 100644 --- a/charset.plp +++ b/charset.plp @@ -13,8 +13,8 @@ $header{content_type} = 'text/html; charset=utf-8'; + charset cheat sheet - diff --git a/digraphs.plp b/digraphs.plp index fbe8a5d..487b59f 100644 --- a/digraphs.plp +++ b/digraphs.plp @@ -14,8 +14,8 @@ $header{content_type} = 'text/html; charset=utf-8'; + digraph cheat sheet - <: my %styles = map {$_ => $_} qw(dark circus mono red terse); our $style = exists $get{style} && $styles{$get{style}} || 'light'; diff --git a/index.plp b/index.plp index 8bf233c..5abd93c 100644 --- a/index.plp +++ b/index.plp @@ -12,8 +12,8 @@ $header{content_type} = "text/html; charset=utf-8"; -vi cheat sheet +vi cheat sheet <: diff --git a/readline.plp b/readline.plp index f9a29b1..6fc99f5 100644 --- a/readline.plp +++ b/readline.plp @@ -16,8 +16,8 @@ $header{content_type} = "text/html; charset=$sign{charset}"; -readline cheat sheet +readline cheat sheet <: diff --git a/unicode.plp b/unicode.plp index eeea675..b55e771 100644 --- a/unicode.plp +++ b/unicode.plp @@ -14,8 +14,8 @@ $header{content_type} = 'text/html; charset=utf-8'; -digraph cheat sheet +digraph cheat sheet <: my %styles = map {$_ => $_} qw(dark circus mono red terse); our $style = exists $get{style} && $styles{$get{style}} || 'light'; diff --git a/vim.plp b/vim.plp index c84bb38..a14793f 100644 --- a/vim.plp +++ b/vim.plp @@ -16,8 +16,8 @@ $header{content_type} = "text/html; charset=$sign{charset}"; -vi cheat sheet +vi cheat sheet <: -- 2.30.0