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)
commit3b920b86982ab8e0de639a253a098268b433e170
tree49bc51591acde37fc5a764b32cccbd7b47c87d81
parentfff625c7202fad886cb64e9b3f09e9a358a65583
Use EN DASH characters directly in Web page, without entities

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