Bug: linked code snippet, syntax highlighting

have a look:
image

the syntax highlighting thinks that a single-line comment spans multiple lines.

must be a bug in discourse, or whatever syntax-highlights those cards, because the same code inline highlights correctly:

if (icdist < 0)  // test: undistortPoints.regression_14583
{
    x = (u - cx)*ifx;
    y = (v - cy)*ify;
    break;
}