From 464e25dbf15d02831b601c819a9aa8cf2c548baf Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Mon, 11 May 2009 18:47:11 +0000 Subject: [PATCH 1/1] declare type in HTML style tags Though all browsers default to css, it's not strictly valid. --- index.plp | 2 +- nethack.plp | 4 ++-- readline.plp | 4 ++-- vim.plp | 4 ++-- vimperator.plp | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/index.plp b/index.plp index 1927f13..8bf233c 100644 --- a/index.plp +++ b/index.plp @@ -15,7 +15,7 @@ $header{content_type} = "text/html; charset=utf-8"; vi cheat sheet -" unless $showkeys; - print "\n" + print "\n".'' unless $showkeys; + print "\n".'' if $showkeys and $get{keys} eq 'ghost'; :> diff --git a/readline.plp b/readline.plp index 06c8e30..f9a29b1 100644 --- a/readline.plp +++ b/readline.plp @@ -28,8 +28,8 @@ $header{content_type} = "text/html; charset=$sign{charset}"; ) for keys %styles; our $showkeys = exists $get{keys} && $get{keys} ne '0'; - print "\n" unless $showkeys; - print "\n" + print "\n".'' unless $showkeys; + print "\n".'' if $showkeys and $get{keys} eq 'ghost'; :> diff --git a/vim.plp b/vim.plp index e357b73..c84bb38 100644 --- a/vim.plp +++ b/vim.plp @@ -28,8 +28,8 @@ $header{content_type} = "text/html; charset=$sign{charset}"; ) for keys %styles; our $showkeys = exists $get{keys} && $get{keys} ne '0'; - print "\n" unless $showkeys; - print "\n" + print "\n".'' unless $showkeys; + print "\n".'' if $showkeys and $get{keys} eq 'ghost'; :> diff --git a/vimperator.plp b/vimperator.plp index 55c635f..84d9106 100644 --- a/vimperator.plp +++ b/vimperator.plp @@ -28,8 +28,8 @@ $header{content_type} = "text/html; charset=$sign{charset}"; ) for keys %styles; our $showkeys = exists $get{keys} && $get{keys} ne '0'; - print "\n" unless $showkeys; - print "\n" + print "\n".'' unless $showkeys; + print "\n".'' if $showkeys and $get{keys} eq 'ghost'; :> -- 2.30.0