You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the spec is somewhat vague, I believe that the encoded whitespace in the first two examples, should behave like spaces, which is what happens with all the other examples, and that that is the intent of the spec.
Github does treat all these examples as js, and adds their class to it. CommonMark.js currently yields:
I expect <pre><code class="language-js"></code></pre> for everything (like GH).
The text was updated successfully, but these errors were encountered:
wooorm
changed the title
commonmark.js should first evaluate character references, before interpreting as info stringcommonmark.js should first evaluate character references, before interpreting “words” of the info string
Apr 26, 2022
Here are some examples:
While the spec is somewhat vague, I believe that the encoded whitespace in the first two examples, should behave like spaces, which is what happens with all the other examples, and that that is the intent of the spec.
Github does treat all these examples as
js
, and adds their class to it. CommonMark.js currently yields:I expect
<pre><code class="language-js"></code></pre>
for everything (like GH).The text was updated successfully, but these errors were encountered: