gitlab markdown for c++ breaks with whitespace before semicolon on statements
Noticed this while reformatting source code, changing a lot of whitespace and newline appearance conditions in my automated formatting tool. After some testing narrowed down the problem to markdown c++ highlighting with spaces before semicolons (;).
What happens is part of the affected code is displayed twice in red.
This is fine:
if ( Elevated ) Lock->wlock(); else if ( Latched ) Lock->rlock();
This is not:
if ( Elevated ) Lock->wlock() ; else if ( Latched ) Lock->rlock() ;
the only difference in the second sample, is the spaces before ;'s.