aria-practices
aria-practices copied to clipboard
Infrastructure: Fix syntax highlighting bug on examples
This PR addresses #2815. I upgraded highlight.js to get the latest features, as we were behind a few major versions.
WAI Preview Link (Last built on Thu, 29 Feb 2024 15:49:24 GMT).
@alflennik The change from <br> to \n was because highlightjs stopped supporting break tags. See https://github.com/highlightjs/highlight.js/issues/3285#issuecomment-885995008
@a11ydoer could you also confirm this resolves the issue as expected?
The ARIA Authoring Practices (APG) Task Force just discussed Infrastructure: Fix syntax highlighting bug on examples by evmiguel · Pull Request #2939 · w3c/aria-practices.
The full IRC log of that discussion
<jugglinmike> subtopic: Infrastructure: Fix syntax highlighting bug on examples by evmiguel · Pull Request #2939 · w3c/aria-practices<jugglinmike> github: https://github.com/w3c/aria-practices/pull/2939
<jugglinmike> Matt_King: I think this needs a visual review
<jugglinmike> Jem: I will do it