marijnh/CodeMirror — pull request #1507 by jdleesmiller (2013-05-07 07:48:27+00:00)
Title: fix stex mode handling of line break with optional argument

A line break with dimension (e.g. "\\\\[1cm]") was being parsed as the start of an equation ("\\[...\\]").

Fix: "\\\\" is now matched before "\\[".

Test added.