diff options
author | Wu Cheng-Han | 2016-01-19 09:59:52 -0600 |
---|---|---|
committer | Wu Cheng-Han | 2016-01-19 09:59:52 -0600 |
commit | 0dbde6d3d006700657a996ba8d9946461a26c558 (patch) | |
tree | 481a3cbbbecc60b09bd67221428b0563674c9afc /public/vendor/codemirror/mode/markdown | |
parent | 96931e6e3abb4f1629811162296a97866bac4904 (diff) |
Manuel patch CodeMirror for markdown mode
Diffstat (limited to 'public/vendor/codemirror/mode/markdown')
-rw-r--r-- | public/vendor/codemirror/mode/markdown/markdown.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/vendor/codemirror/mode/markdown/markdown.js b/public/vendor/codemirror/mode/markdown/markdown.js index 70889205..64fb4d60 100644 --- a/public/vendor/codemirror/mode/markdown/markdown.js +++ b/public/vendor/codemirror/mode/markdown/markdown.js @@ -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; |