From: Mischa POSLAWSKY Date: Mon, 11 May 2009 18:47:11 +0000 (+0000) Subject: declare type in HTML style tags X-Git-Tag: v1.3~137 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/464e25dbf15d02831b601c819a9aa8cf2c548baf declare type in HTML style tags Though all browsers default to css, it's not strictly valid. --- 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'; :>