mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
Manuel patch CodeMirror for markdown mode
This commit is contained in:
parent
96931e6e3a
commit
0dbde6d3d0
2 changed files with 5 additions and 5 deletions
8
public/vendor/codemirror/codemirror.min.js
vendored
8
public/vendor/codemirror/codemirror.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -235,7 +235,7 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function local(stream, state) {
|
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.localMode = state.localState = null;
|
||||||
state.f = state.block = leavingLocal;
|
state.f = state.block = leavingLocal;
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in a new issue