chiark / gitweb /
Use EN DASH characters directly in Web page, without entities
authorBen Harris <bjh21@bjh21.me.uk>
Fri, 27 Sep 2024 10:47:13 +0000 (11:47 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Fri, 27 Sep 2024 10:58:26 +0000 (11:58 +0100)
The W3C HTML 5 checker objects to my use of "&ndash;" and I can't see
any reason why I should use it.  The page is unashamedly in UTF-8, so
there's not much benefit to singling out this one character for special
treatment.

The page is still officially in XHTML 1.0 Strict at the moment, but I
might want to change that, which is why I'm paying attention to an
HTML 5 checker.

index.xhtml

index 42f8d2e8666185180a90944b98c913c0addb60c5..bc81c347011eeaa421534c01945ee29a3f490d55 100644 (file)
@@ -5,7 +5,7 @@
   <head>
     <meta http-equiv="content-type"
          content="application/xhtml+xml;charset=UTF-8" />
-    <title>Bedstead &ndash; MODE 7 for the 21st century</title>
+    <title>Bedstead  MODE 7 for the 21st century</title>
     <link rel="stylesheet" href="bedstead.css" type="text/css" />
     <link rel="icon" href="icon-16.png" type="image/png" sizes="16x16" />
     <link rel="icon" href="icon-32.png" type="image/png" sizes="32x32" />
     
     <ul>
       <li><a href="bedstead-002.007.zip"><code>bedstead-002.007.zip</code></a>
-       &ndash; Full source and binary distribution containing everything
+        Full source and binary distribution containing everything
        below and more.</li>
-      <li><a href="NEWS"><code>NEWS</code></a> &ndash; Release notes summarizing
+      <li><a href="NEWS"><code>NEWS</code></a>  Release notes summarizing
        what’s changed between releases.</li>
-      <li><a href="bedstead.c"><code>bedstead.c</code></a> &ndash; The C
+      <li><a href="bedstead.c"><code>bedstead.c</code></a>  The C
        program that generates the font.</li>
       <li>Finished OpenType fonts:
        <ul>
-         <li><a href="bedstead.otf"><code>bedstead.otf</code></a> &ndash;
+         <li><a href="bedstead.otf"><code>bedstead.otf</code></a> 
            Bedstead</li>
          <li><a href="bedstead-extended.otf"><code>bedstead-extended.otf</code></a>
-           &ndash; Bedstead Extended</li>
+            Bedstead Extended</li>
          <li><a href="bedstead-semicondensed.otf"><code>bedstead-semicondensed.otf</code></a>
-           &ndash; Bedstead Semi Condensed</li>
+            Bedstead Semi Condensed</li>
          <li><a href="bedstead-condensed.otf"><code>bedstead-condensed.otf</code></a>
-           &ndash; Bedstead Condensed</li>
+            Bedstead Condensed</li>
          <li><a href="bedstead-extracondensed.otf"><code>bedstead-extracondensed.otf</code></a>
-           &ndash; Bedstead Extra Condensed</li>
+            Bedstead Extra Condensed</li>
          <li><a href="bedstead-ultracondensed.otf"><code>bedstead-ultracondensed.otf</code></a>
-           &ndash; Bedstead Ultra Condensed</li>
+            Bedstead Ultra Condensed</li>
          <li><a href="bedstead-bold.otf"><code>bedstead-bold.otf</code></a>
-           &ndash; Bedstead Bold</li>
+            Bedstead Bold</li>
          <li><a href="bedstead-boldextended.otf"><code>bedstead-boldextended.otf</code></a>
-           &ndash; Bedstead Bold Extended</li>
+            Bedstead Bold Extended</li>
          <li><a href="bedstead-boldsemicondensed.otf"><code>bedstead-boldsemicondensed.otf</code></a>
-           &ndash; Bedstead Bold Semi Condensed</li>
+            Bedstead Bold Semi Condensed</li>
          <li><a href="bedstead-boldcondensed.otf"><code>bedstead-boldcondensed.otf</code></a>
-           &ndash; Bedstead Bold Condensed</li>
+            Bedstead Bold Condensed</li>
          <li><a href="bedstead-boldextracondensed.otf"><code>bedstead-boldextracondensed.otf</code></a>
-           &ndash; Bedstead Bold Extra Condensed</li>
+            Bedstead Bold Extra Condensed</li>
          <li><a href="bedstead-boldultracondensed.otf"><code>bedstead-boldultracondensed.otf</code></a>
-           &ndash; Bedstead Bold Ultra Condensed</li>
+            Bedstead Bold Ultra Condensed</li>
        </ul>
       </li>
       <li><a href="bedstead-10.bdf"><code>bedstead-10.bdf</code></a>,
-       <a href="bedstead-20.bdf"><code>bedstead-20.bdf</code></a> &ndash;
+       <a href="bedstead-20.bdf"><code>bedstead-20.bdf</code></a> 
        Bitmap versions at 10 and 20 pixels high.</li>
       <li><a href="bedstead-bold-20.bdf"><code>bedstead-bold-20.bdf</code></a>
-       &ndash; Bold bitmap version at 20 pixels high.</li>
+        Bold bitmap version at 20 pixels high.</li>
       <li><a href="bedstead-10-df.png"><code>bedstead-10-df.png</code></a>,
        <a href="bedstead-20-df.png"><code>bedstead-20-df.png</code></a>
-       &ndash; 10-pixel and 20-pixel tilesets for use with
+        10-pixel and 20-pixel tilesets for use with
        <a href="https://www.bay12games.com/dwarves/">Dwarf Fortress</a>.</li>
       <li><a href="bedstead-complement.pdf"><code>bedstead-complement.pdf</code></a>
-       &ndash; A complete catalogue of glyphs in PDF.</li>
+        A complete catalogue of glyphs in PDF.</li>
     </ul>
 
     <p>The code to generate Bedstead is held in