Currently on SO using:
<!-- language: c++ -->
Makes subsequent editing of a post fail, none of the editor buttons are visible and the keyboard shortcuts do nothing. Firefox gives an error in the console:
Syntax error wmd.en.js:2
and Chrome fails identically. Using the following hint instead works as expected:
<!-- language: lang-cpp -->
This was observed with the initial revision of my answer to: How to use weak_ptr in swig? and can still be reproduced by attempting editing revision 1.
Uncaught SyntaxError: Invalid regular expression: /^c++/: Nothing to repeat
.