[webauthn] Pull Request: Fix encoding and syntax highlighting of example code

emlun has just submitted a new pull request for https://github.com/w3c/webauthn:

== Fix encoding and syntax highlighting of example code ==
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.

This PR also fixes the syntax highlighting tags on some incorrectly tagged or untagged examples.

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

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

See https://github.com/w3c/webauthn/pull/2175


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 2 October 2024 20:44:55 UTC