Skip to content
Snippets Groups Projects
Commit 100d9b01 authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

[yaml-frontmatter mode] Fix bug breaking the frontmatter being optional

Issue #3760
parent 4a681085
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@
state.state = FRONTMATTER
return yamlMode.token(stream, state.inner)
} else {
stream.state = BODY
state.state = BODY
state.inner = CodeMirror.startState(innerMode)
return innerMode.token(stream, state.inner)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment