shithub: puzzles

Download patch

ref: 8ef28a4fd6b3b111b3d2c0446d9d82784d239d22
parent: 208e2508d3ba459d32e31661a0fa9d1b4707dd0e
author: Ben Harris <bjh21@bjh21.me.uk>
date: Sat Nov 12 10:32:18 EST 2022

js: Remove class="text/css" from <style> element

This is the wrong attribute, and the correct type="text/css" is
deprecated by MDN.  Since it's never worked, the deprecated attribute
presumably isn't needed either.

--- a/html/jspage.pl
+++ b/html/jspage.pl
@@ -74,7 +74,7 @@
 <meta http-equiv="Content-Type" content="text/html; charset=ASCII" />
 <title>${puzzlename}, ${unfinishedtitlefragment}from Simon Tatham's Portable Puzzle Collection</title>
 <script defer type="text/javascript" src="${jspath}${filename}.js"></script>
-<style class="text/css">
+<style>
 /* Top-level form for the game menu */
 #gamemenu {
     margin-top: 0;