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

Function attrEqState

static/editor.md/lib/codemirror/mode/xml/xml.js:282–286  ·  view source on GitHub ↗
(type, stream, state)

Source from the content-addressed store, hash-verified

280 return attrState;
281 }
282 function attrEqState(type, stream, state) {
283 if (type == "equals") return attrValueState;
284 if (!Kludges.allowMissing) setStyle = "error";
285 return attrState(type, stream, state);
286 }
287 function attrValueState(type, stream, state) {
288 if (type == "string") return attrContinuedState;
289 if (type == "word" && Kludges.allowUnquoted) {setStyle = "string"; return attrState;}

Callers

nothing calls this directly

Calls 1

attrStateFunction · 0.85

Tested by

no test coverage detected