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

  Branch: refs/heads/main
  Home:   https://github.com/w3c/webauthn
  Commit: 41c514f6e1db4b4aaba77c3145990f0f99c5bd7b
      https://github.com/w3c/webauthn/commit/41c514f6e1db4b4aaba77c3145990f0f99c5bd7b
  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: ef54852bf773d82174798bfff3e87469380db325
      https://github.com/w3c/webauthn/commit/ef54852bf773d82174798bfff3e87469380db325
  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


  Commit: cfa73332d4aeed226074903ae09508cb2b39177a
      https://github.com/w3c/webauthn/commit/cfa73332d4aeed226074903ae09508cb2b39177a
  Author: Michael B. Jones <michael_b_jones@hotmail.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M index.bs

  Log Message:
  -----------
  Merge pull request #2175 from w3c/example-code-xmp

Fix encoding and syntax highlighting of example code


Compare: https://github.com/w3c/webauthn/compare/b253c3b1e4dd...cfa73332d4ae

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

Received on Wednesday, 9 October 2024 18:13:40 UTC