]> git.wh0rd.org Git - nano-editor.git/commitdiff
remove two slashes that are not valid in HTML4
authorBenno Schulenberg <bensberg@telfort.nl>
Thu, 20 May 2021 10:15:43 +0000 (12:15 +0200)
committerBenno Schulenberg <bensberg@telfort.nl>
Thu, 20 May 2021 10:20:52 +0000 (12:20 +0200)
The W3 validator complains about "/>" not being valid in HTML4.

top.php

diff --git a/top.php b/top.php
index 3a3f565b24863dd985ff44fe36a9016f2e0711c4..8a0e3ee7a90eb65ec73a4f2772ab55d472b8690e 100644 (file)
--- a/top.php
+++ b/top.php
@@ -8,8 +8,8 @@
    <meta name="description" content="GNU nano is a small editor for on the terminal. It supports syntax highlighting, spell checking, justifying, completion, undo/redo...">
 <?php endif; ?>
    <link rel="icon" href="/favicon.ico">
-   <link rel="stylesheet" href="style-dark.css" media="(prefers-color-scheme: dark)"/>
-   <link rel="stylesheet" href="style-light.css" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"/>
+   <link rel="stylesheet" href="style-dark.css" media="(prefers-color-scheme: dark)">
+   <link rel="stylesheet" href="style-light.css" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)">
 </head>
 
 <body>