declare type in HTML style tags
[sheet.git] / vim.plp
diff --git a/vim.plp b/vim.plp
index e357b73d2626205a1cb1a3a33f4bbf39f5b03b15..c84bb38cafcbc872825282653256248cd7a1f23b 100644 (file)
--- 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<style> .no {visibility:hidden} </style>" unless $showkeys;
-       print "\n<style> .no, .alias {opacity:.5} </style>"
+       print "\n".'<style type="text/css"> .no {visibility:hidden} </style>' unless $showkeys;
+       print "\n".'<style type="text/css"> .no, .alias {opacity:.5} </style>'
                if $showkeys and $get{keys} eq 'ghost';
 :>
 <script type="text/javascript" src="/keys.js"></script>