Manuel patch CodeMirror for markdown mode

This commit is contained in:
Wu Cheng-Han 2016-01-19 09:59:52 -06:00
parent 96931e6e3a
commit 0dbde6d3d0
2 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

View file

@ -235,7 +235,7 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) {
}
function local(stream, state) {
if (stream.sol() && state.fencedChars && stream.match(state.fencedChars, false)) {
if (state.fencedChars && stream.match(state.fencedChars, false)) {
state.localMode = state.localState = null;
state.f = state.block = leavingLocal;
return null;