enter image description here

Offending Markdown: (see also live in this post revision on crypto.SE)

> $$\left|\Pr_{k\leftarrow_\$\ \{0,1\}^n}[\mathcal{A}(1^n, F(k,-))=1] - \Pr_{f\leftarrow_\$\ \{0,1\}^n\to\{0,1\}^n}[\mathcal{A}(1^n, f(-))=1]\right|\leq \mathrm{negl}(n).$$

Apparently, it only happens on crypto.SE. I could neither reproduce it on meta.crypto.SE (link [deleted post]) nor in math.SE's formatting sandbox (trial 1, trial 2 [deleted post]).

I didn't want to spam crypto.SE and hence couldn't narrow down the offending Markdown.

  • 3
    One may want to note that it has not been confirmed to only happen on Cryptography. We just couldn't reproduce it on either Cryptography Meta nor Mathematics Meta.
    – SEJPM
    Commented Nov 22, 2020 at 15:35
  • 1
    Why do you think it’s a bug? The snippet actually shows \\\$ rather than \$. That’s indeed invalid MathJax code. Commented Nov 22, 2020 at 18:05
  • 1
    Oh, I see: the Markdown source seems to only include a single backslash. So the Markdown translator apparently incorrectly trippled the backslash in the resulting HTML (and MathJax is not to blame). That’s weird. Commented Nov 22, 2020 at 18:14
  • Some sites use \$ to delimit MathJax blocks instead of $: meta.stackexchange.com/q/348676/282094 - and they're not sure if that's a complete list.
    – Rob
    Commented Nov 22, 2020 at 21:49


You must log in to answer this question.

Browse other questions tagged .