From: Ben Harris Date: Fri, 27 Sep 2024 10:47:13 +0000 (+0100) Subject: Use EN DASH characters directly in Web page, without entities X-Git-Tag: bedstead-002.008~8 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=3b920b86982ab8e0de639a253a098268b433e170;p=bedstead.git Use EN DASH characters directly in Web page, without entities The W3C HTML 5 checker objects to my use of "–" 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. --- diff --git a/index.xhtml b/index.xhtml index 42f8d2e..bc81c34 100644 --- a/index.xhtml +++ b/index.xhtml @@ -5,7 +5,7 @@ - Bedstead – MODE 7 for the 21st century + Bedstead – MODE 7 for the 21st century @@ -120,51 +120,51 @@

The code to generate Bedstead is held in