summaryrefslogtreecommitdiff
path: root/public/vendor/codemirror/mode/markdown
diff options
context:
space:
mode:
authorWu Cheng-Han2016-01-19 09:59:52 -0600
committerWu Cheng-Han2016-01-19 09:59:52 -0600
commit0dbde6d3d006700657a996ba8d9946461a26c558 (patch)
tree481a3cbbbecc60b09bd67221428b0563674c9afc /public/vendor/codemirror/mode/markdown
parent96931e6e3abb4f1629811162296a97866bac4904 (diff)
Manuel patch CodeMirror for markdown mode
Diffstat (limited to 'public/vendor/codemirror/mode/markdown')
-rw-r--r--public/vendor/codemirror/mode/markdown/markdown.js2
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;