MCPcopy Create free account
hub / github.com/TruthHun/BookStack / closeState

Function closeState

static/editor.md/lib/codemirror/mode/xml/xml.js:250–257  ·  view source on GitHub ↗
(type, _stream, state)

Source from the content-addressed store, hash-verified

248 }
249
250 function closeState(type, _stream, state) {
251 if (type != "endTag") {
252 setStyle = "error";
253 return closeState;
254 }
255 popContext(state);
256 return baseState;
257 }
258 function closeStateErr(type, stream, state) {
259 setStyle = "error";
260 return closeState(type, stream, state);

Callers 1

closeStateErrFunction · 0.85

Calls 1

popContextFunction · 0.70

Tested by

no test coverage detected