[w3c/webauthn] 65f93b: Consistently use <xmp> instead of <pre> for code e...

  Branch: refs/heads/example-code-xmp
  Home:   https://github.com/w3c/webauthn
  Commit: 65f93b8766c9f05a10c1ffc841bdd567cdc95a5d
      https://github.com/w3c/webauthn/commit/65f93b8766c9f05a10c1ffc841bdd567cdc95a5d
  Author: Emil Lundberg <emil@yubico.com>
  Date:   2024-10-02 (Wed, 02 Oct 2024)

  Changed paths:
    M index.bs

  Log Message:
  -----------
  Consistently use <xmp> instead of <pre> for code examples

Using `<pre>` sometimes causes some characters to be converted into others. This
is especially apparent in CDDL examples, where for example the first single
quote in `foo = h'001122'` gets converted into "’" (U+2019) instead of
"'" (U+0027), which is incorrect and also breaks CDDL syntax highlighting.

See the [Bikeshed documentation][1] for more on using `<xmp>`.

[1]: https://speced.github.io/bikeshed/#xmp


  Commit: ff7d839b7eefd1e1fe399e0a0e39fe35d744c8d0
      https://github.com/w3c/webauthn/commit/ff7d839b7eefd1e1fe399e0a0e39fe35d744c8d0
  Author: Emil Lundberg <emil@yubico.com>
  Date:   2024-10-02 (Wed, 02 Oct 2024)

  Changed paths:
    M index.bs

  Log Message:
  -----------
  Fix syntax highlighting tags


Compare: https://github.com/w3c/webauthn/compare/65f93b8766c9%5E...ff7d839b7eef

To unsubscribe from these emails, change your notification settings at https://github.com/w3c/webauthn/settings/notifications

Received on Wednesday, 2 October 2024 20:40:59 UTC