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
{{ message }}
Repository navigation
Inline code after a tilde is parsed with shifted backticks #4011
A literal tilde immediately followed by an inline code span causes the opening backtick to be consumed as text. Subsequent backticks are then paired incorrectly.
importassertfrom"node:assert/strict"import{marked}from"marked"constmarkdown="~`0.1576` to measurement-window-only `0.00092`"constexpected="<p>~<code>0.1576</code> to measurement-window-only <code>0.00092</code></p>\n"constactual=marked.parse(markdown)console.log(actual)assert.equal(actual,expected)
Activity